mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 12:00:05 +00:00
Fix CMakeLists.txt to keep compatibility with CMake 3.10.2
This commit is contained in:
parent
25dd807c3a
commit
7b51e234fe
@ -195,7 +195,7 @@ elseif(MSVC)
|
||||
add_compile_options(/EHsc) # Enable Exceptions
|
||||
else()
|
||||
string(REGEX REPLACE /EHsc "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) # Try to remove default /EHsc cxx_flag
|
||||
add_compile_definitions(_HAS_EXCEPTIONS=0)
|
||||
add_compile_options(/D_HAS_EXCEPTIONS=0)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user