Compile with static VC runtime

This commit is contained in:
Exeldro 2024-07-31 07:54:52 +02:00
parent 5d0a7a8a76
commit bf56b6f853
No known key found for this signature in database
GPG Key ID: 97269A83FC715751

View File

@ -36,6 +36,7 @@ target_link_libraries(${PROJECT_NAME} PRIVATE Qt::Core Qt::Widgets)
target_compile_options(
${PROJECT_NAME} PRIVATE $<$<C_COMPILER_ID:Clang,AppleClang>:-Wno-quoted-include-in-framework-header
-Wno-comma>)
set_target_properties(${PROJECT_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
set_target_properties(
${PROJECT_NAME}
PROPERTIES AUTOMOC ON