From 67c498dde38988fe981d3f273e5c3ec902973ff4 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Sat, 28 May 2011 14:28:22 +0200 Subject: [PATCH] Changed the STATIC_STD_LIBS CMake option to FALSE by default (matches the default compilers' settings) --- CMakeLists.txt | 2 +- bindings/c/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a5fd689e..63494490 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ endif() # define an option for choosing between static and dynamic C runtime (Windows only) if(WINDOWS) - set(STATIC_STD_LIBS TRUE CACHE BOOL "TRUE to statically link to the standard libraries, FALSE to use them as DLLs") + set(STATIC_STD_LIBS FALSE CACHE BOOL "TRUE to statically link to the standard libraries, FALSE to use them as DLLs") # for VC++, we can apply it globally by modifying the compiler flags if(COMPILER_MSVC AND STATIC_STD_LIBS) diff --git a/bindings/c/CMakeLists.txt b/bindings/c/CMakeLists.txt index 0a13afb7..db4f9e17 100644 --- a/bindings/c/CMakeLists.txt +++ b/bindings/c/CMakeLists.txt @@ -32,7 +32,7 @@ set(CMAKE_SKIP_BUILD_RPATH TRUE) # define an option for choosing between static and dynamic C runtime (Windows only) if(WINDOWS) - set(STATIC_STD_LIBS TRUE CACHE BOOL "TRUE to statically link to the standard libraries, FALSE to use them as DLLs") + set(STATIC_STD_LIBS FALSE CACHE BOOL "TRUE to statically link to the standard libraries, FALSE to use them as DLLs") # for VC++, we can apply it globally by modifying the compiler flags if(COMPILER_MSVC AND STATIC_STD_LIBS)