diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index ff723c69..9bd3ba8d 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -13,7 +13,7 @@ option(FLATBUFFERS_INSTALL "" OFF) add_subdirectory(flatbuffers) if(MSVC) -target_compile_options(flatc PRIVATE /MD) +target_compile_options(flatc PRIVATE /MD$<$:d>) endif() ##########################################