mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 01:48:59 +08:00
3405bfd2fb
* Add port for libcerf. * Indicate that static linkage is not available. * Patch to enable static build.
14 lines
486 B
Diff
14 lines
486 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index f79581f..4fc9457 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -56,6 +56,8 @@ if(MSVC)
|
|
# set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/$<CONFIG>)
|
|
if(BUILD_SHARED_LIBS)
|
|
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
|
+ else()
|
|
+ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
|
|
endif()
|
|
else()
|
|
add_compile_options(-O2 -Wno-sign-compare -fno-omit-frame-pointer)
|