mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-09 04:19:10 -04:00
Make sure MSVC correctly defines __cplusplus
This commit is contained in:
parent
35d27e8e24
commit
96a101310f
@ -96,7 +96,7 @@ elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
add_compile_options(/utf-8 /wd4267 /wd4244 /wd5219)
|
||||
add_compile_options(/Zc:__cplusplus /utf-8 /wd4267 /wd4244 /wd5219)
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
|
||||
|
Loading…
x
Reference in New Issue
Block a user