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
9801a9e4
Unverified
Commit
9801a9e4
authored
Feb 24, 2021
by
greg-lunarg
Committed by
GitHub
Feb 24, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2546 from proydakov/msvc-noexcept-fix
Fixed msvc 2019 nmake noexcept build.
parents
2e99822c
5f7228e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
CMakeLists.txt
CMakeLists.txt
+3
-0
No files found.
CMakeLists.txt
View file @
9801a9e4
...
@@ -193,6 +193,9 @@ elseif(MSVC)
...
@@ -193,6 +193,9 @@ elseif(MSVC)
endif
()
endif
()
if
(
ENABLE_EXCEPTIONS
)
if
(
ENABLE_EXCEPTIONS
)
add_compile_options
(
/EHsc
)
# Enable Exceptions
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
)
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