mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Changed the STATIC_STD_LIBS CMake option to FALSE by default (matches the default compilers' settings)
This commit is contained in:
parent
7bf0bdf161
commit
67c498dde3
@ -51,7 +51,7 @@ endif()
|
|||||||
|
|
||||||
# define an option for choosing between static and dynamic C runtime (Windows only)
|
# define an option for choosing between static and dynamic C runtime (Windows only)
|
||||||
if(WINDOWS)
|
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
|
# for VC++, we can apply it globally by modifying the compiler flags
|
||||||
if(COMPILER_MSVC AND STATIC_STD_LIBS)
|
if(COMPILER_MSVC AND STATIC_STD_LIBS)
|
||||||
|
@ -32,7 +32,7 @@ set(CMAKE_SKIP_BUILD_RPATH TRUE)
|
|||||||
|
|
||||||
# define an option for choosing between static and dynamic C runtime (Windows only)
|
# define an option for choosing between static and dynamic C runtime (Windows only)
|
||||||
if(WINDOWS)
|
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
|
# for VC++, we can apply it globally by modifying the compiler flags
|
||||||
if(COMPILER_MSVC AND STATIC_STD_LIBS)
|
if(COMPILER_MSVC AND STATIC_STD_LIBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user