mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
MSVC fixed for real now?
This commit is contained in:
parent
6eca72f694
commit
90bad5ae89
@ -517,7 +517,7 @@ if (MSVC)
|
|||||||
# Visual Studio 2017 version 15.7 needs "/Zc:__cplusplus" for __cplusplus
|
# Visual Studio 2017 version 15.7 needs "/Zc:__cplusplus" for __cplusplus
|
||||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "19.14.26428")
|
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "19.14.26428")
|
||||||
foreach(tgt IN LISTS lego1_interface_targets)
|
foreach(tgt IN LISTS lego1_interface_targets)
|
||||||
target_compile_options(${tgt} PRIVATE "-Zc:__cplusplus")
|
target_compile_options(${tgt} INTERFACE "-Zc:__cplusplus")
|
||||||
endforeach()
|
endforeach()
|
||||||
if (TARGET isle)
|
if (TARGET isle)
|
||||||
target_compile_options(isle PRIVATE "-Zc:__cplusplus")
|
target_compile_options(isle PRIVATE "-Zc:__cplusplus")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user