mirror of https://github.com/rusefi/openblt.git
Refs #1295. Changed the run-time library configuration from /MDd to /MTd for the VC++ projects. This removes the dependency on external DLLs.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@881 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
c452eb28e4
commit
e37a9fa10b
Binary file not shown.
|
@ -25,7 +25,7 @@
|
|||
# \endinternal
|
||||
#****************************************************************************************
|
||||
# Specify the version being used aswell as the language
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
|
||||
#****************************************************************************************
|
||||
|
@ -84,6 +84,13 @@ elseif(UNIX)
|
|||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPLATFORM_LINUX -pthread -std=gnu99")
|
||||
endif(WIN32)
|
||||
|
||||
# Configure a statically linked run-time library for msvc
|
||||
if(WIN32)
|
||||
if(CMAKE_C_COMPILER_ID MATCHES MSVC)
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
endif()
|
||||
endif(WIN32)
|
||||
|
||||
|
||||
#***************************************************************************************
|
||||
# Includes
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
# \endinternal
|
||||
#****************************************************************************************
|
||||
# Specify the version being used aswell as the language
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
|
||||
#****************************************************************************************
|
||||
|
@ -96,6 +96,13 @@ elseif(UNIX)
|
|||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPLATFORM_LINUX -pthread -std=gnu99")
|
||||
endif(WIN32)
|
||||
|
||||
# Configure a statically linked run-time library for msvc
|
||||
if(WIN32)
|
||||
if(CMAKE_C_COMPILER_ID MATCHES MSVC)
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
endif()
|
||||
endif(WIN32)
|
||||
|
||||
|
||||
#***************************************************************************************
|
||||
# Includes
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
# \endinternal
|
||||
#****************************************************************************************
|
||||
# Specify the version being used aswell as the language
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
|
||||
#****************************************************************************************
|
||||
|
@ -80,6 +80,13 @@ elseif(UNIX)
|
|||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPLATFORM_LINUX -pthread -std=gnu99")
|
||||
endif(WIN32)
|
||||
|
||||
# Configure a statically linked run-time library for msvc
|
||||
if(WIN32)
|
||||
if(CMAKE_C_COMPILER_ID MATCHES MSVC)
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
endif()
|
||||
endif(WIN32)
|
||||
|
||||
|
||||
#***************************************************************************************
|
||||
# Includes
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue