Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
third-party
glew
Commits
62ac9ddf
Commit
62ac9ddf
authored
Dec 23, 2016
by
Nigel Stewart
Committed by
GitHub
Dec 23, 2016
Browse files
Merge pull request #117 from undisputed-seraphim/Windows_Build_Fixes
Resolve issue #99: Removed /RTC1 flag in glew…
parents
db04f1d1
6a38eb3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/cmake/CMakeLists.txt
View file @
62ac9ddf
...
...
@@ -103,6 +103,7 @@ if (MSVC)
target_compile_options
(
glew_s PRIVATE -GS-
)
# remove stdlib dependency
target_link_libraries
(
glew LINK_PRIVATE -nodefaultlib -noentry
)
string
(
REGEX REPLACE
"/RTC(su|[1su])"
""
CMAKE_C_FLAGS_DEBUG
${
CMAKE_C_FLAGS_DEBUG
}
)
elseif
(
WIN32
AND
((
CMAKE_C_COMPILER_ID MATCHES
"GNU"
)
OR
(
CMAKE_C_COMPILER_ID MATCHES
"Clang"
)))
# remove stdlib dependency on windows with GCC and Clang (for similar reasons
# as to MSVC - to allow it to be used with any Windows compiler)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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