We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2da879 commit 367dd45Copy full SHA for 367dd45
1 file changed
CMakeLists.txt
@@ -1,6 +1,14 @@
1
cmake_minimum_required(VERSION 3.16)
2
project(PyDP LANGUAGES CXX)
3
4
+set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
5
+# Force Protobuf to build with dynamic runtime (/MD)
6
+set(protobuf_BUILD_SHARED_LIBS ON CACHE BOOL "" FORCE)
7
+set(protobuf_MSVC_STATIC_RUNTIME OFF CACHE BOOL "" FORCE)
8
+
9
+# Force Abseil to use dynamic runtime if it has a toggle
10
+set(ABSL_PROPAGATE_CXX_STD ON CACHE BOOL "" FORCE)
11
12
# C++ Standard
13
set(CMAKE_CXX_STANDARD 17)
14
set(CMAKE_CXX_STANDARD_REQUIRED ON)
0 commit comments