projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25dd807
)
Fix CMakeLists.txt to keep compatibility with CMake 3.10.2
author
Greg Fischer
<greg@lunarg.com>
Thu, 22 Apr 2021 22:30:17 +0000
(16:30 -0600)
committer
Greg Fischer
<greg@lunarg.com>
Thu, 22 Apr 2021 22:30:17 +0000
(16:30 -0600)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
9ed5265
..
70fe3fe
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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()