Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
4d658bd5
Unverified
Commit
4d658bd5
authored
Apr 22, 2021
by
Greg Fischer
Committed by
GitHub
Apr 22, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2623 from greg-lunarg/except
Fix CMakeLists.txt to keep compatibility with CMake 3.10.2
parents
25dd807c
7b51e234
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
4d658bd5
...
@@ -195,7 +195,7 @@ elseif(MSVC)
...
@@ -195,7 +195,7 @@ elseif(MSVC)
add_compile_options
(
/EHsc
)
# Enable Exceptions
add_compile_options
(
/EHsc
)
# Enable Exceptions
else
()
else
()
string
(
REGEX REPLACE /EHsc
""
CMAKE_CXX_FLAGS
${
CMAKE_CXX_FLAGS
}
)
# Try to remove default /EHsc cxx_flag
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
()
endif
()
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment