Skip to content

Commit

Permalink
Update Modelica/Resources/BuildProjects/CMake/CMakeLists.txt
Browse files Browse the repository at this point in the history
Co-authored-by: Malte Lenz <malte.lenz@gmail.com>
  • Loading branch information
beutlich and maltelenz committed Jan 29, 2024
1 parent e87ac10 commit 070e55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Resources/BuildProjects/CMake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)

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

0 comments on commit 070e55b

Please sign in to comment.