Skip to content

Commit 367dd45

Browse files
committed
debug5
1 parent a2da879 commit 367dd45

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
cmake_minimum_required(VERSION 3.16)
22
project(PyDP LANGUAGES CXX)
33

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+
412
# C++ Standard
513
set(CMAKE_CXX_STANDARD 17)
614
set(CMAKE_CXX_STANDARD_REQUIRED ON)

0 commit comments

Comments
 (0)