Skip to content

Commit

Permalink
Update Modelica/Resources/BuildProjects/CMake/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Jan 29, 2024
1 parent 070e55b commit 679af90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Modelica/Resources/BuildProjects/CMake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ cmake_minimum_required(VERSION 3.15)

if(POLICY CMP0091)
cmake_policy(SET CMP0091 NEW)
if(WIN32 AND NOT MINGW)
message(STATUS "Configuring to link the MSVC runtime library statically")
if(WIN32)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()
endif()
Expand Down

0 comments on commit 679af90

Please sign in to comment.