Statically link MSVC runtime
This commit is contained in:
+2
-2
@@ -49,8 +49,8 @@ include("${SM_CMAKE_DIR}/SMDefs.cmake")
|
||||
# Put the predefined targets in separate groups.
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
|
||||
# Set up the linker flags for MSVC builds.
|
||||
configure_msvc_runtime()
|
||||
# Select static MSVC runtime instead of DLL
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
|
||||
# Checks the standard include directories for c-style headers. We may use C++ in
|
||||
# this project, but the check works better with plain C headers.
|
||||
|
||||
Reference in New Issue
Block a user