mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 11:59:01 +08:00
fe959628e4
* [libsigcpp] update to 3.6.0 * [libsigcpp] update to 3.6.0 * fix eol
20 lines
533 B
Diff
20 lines
533 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 2475881..3828a13 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -54,6 +54,14 @@ set (PROJECT_SOURCE_DIR "${sigc++_SOURCE_DIR}/sigc++")
|
|
include_directories (${sigc++_SOURCE_DIR})
|
|
include_directories (${sigc++_BINARY_DIR})
|
|
|
|
+if (BUILD_SHARED_LIBS)
|
|
+ if (MSVC)
|
|
+ add_compile_options (-D_WINDLL)
|
|
+ endif()
|
|
+else()
|
|
+ add_compile_options (-DLIBSIGCXX_STATIC)
|
|
+endif()
|
|
+
|
|
configure_file (sigc++config.h.cmake sigc++config.h)
|
|
|
|
set (prefix ${CMAKE_INSTALL_PREFIX})
|