Build/Win: Report CMAKE_MSVC_RUNTIME_LIBRARY value

... when using CMake 3.15+
This commit is contained in:
DRC
2024-01-26 10:34:04 -05:00
parent 17df25f92c
commit 7d67c3495f
2 changed files with 3 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ if(MSVC)
else()
set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreadedDLL)
endif()
message(STATUS "Visual C++ run-time library for libjpeg API DLL: ${CMAKE_MSVC_RUNTIME_LIBRARY}")
else()
foreach(var CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO)