File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,14 @@ endfunction()
1313function (init_target target_name) # init_target(my_target folder_name)
1414 target_compile_features (${target_name} PUBLIC cxx_std_20)
1515
16- if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" )
17- set_target_properties (${target_name} PROPERTIES
18- MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
19- endif ()
2016 set_target_properties (${target_name} PROPERTIES
2117 XCODE_ATTRIBUTE_CLANG_ENABLE_OBJC_WEAK YES
2218 XCODE_ATTRIBUTE_GCC_INLINES_ARE_PRIVATE_EXTERN YES
2319 XCODE_ATTRIBUTE_GCC_SYMBOLS_PRIVATE_EXTERN YES
2420 )
2521 if (NOT TG_OWT_SPECIAL_TARGET STREQUAL "" )
2622 set_target_properties (${target_name} PROPERTIES
23+ MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>"
2724 XCODE_ATTRIBUTE_GCC_OPTIMIZATION_LEVEL $<IF:$<CONFIG:Debug>,0,fast>
2825 XCODE_ATTRIBUTE_LLVM_LTO $<IF:$<CONFIG:Debug>,NO ,YES >
2926 )
You can’t perform that action at this time.
0 commit comments