mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 02:39:00 +08:00
bf7c9673c5
* Update libsigcpp to 3.0.7 * Update CI baseline Co-authored-by: chausner <chausner@users.noreply.github.com>
18 lines
518 B
Diff
18 lines
518 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -53,8 +53,11 @@ set (PROJECT_SOURCE_DIR "${sigc++_SOURCE_DIR}/sigc++")
|
|
include_directories (${sigc++_SOURCE_DIR})
|
|
include_directories (${sigc++_BINARY_DIR})
|
|
|
|
-if(BUILD_SHARED_LIBS)
|
|
- add_compile_options(-DBUILD_SHARED)
|
|
+if (BUILD_SHARED_LIBS)
|
|
+ add_compile_options (-DBUILD_SHARED)
|
|
+ if (MSVC)
|
|
+ add_compile_options (-D_WINDLL)
|
|
+ endif()
|
|
endif()
|
|
|
|
configure_file (sigc++config.h.cmake sigc++config.h)
|