From 8f41196ce9384813de754c2883ae78df88d40ba5 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 11 May 2025 17:26:01 +0200 Subject: [PATCH] Fix visual studio compilation --- deps/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ##########################################