Commit 62ac9ddf authored by Nigel Stewart's avatar Nigel Stewart Committed by GitHub

Merge pull request #117 from undisputed-seraphim/Windows_Build_Fixes

Resolve issue #99: Removed /RTC1 flag in glew…
parents db04f1d1 6a38eb3f
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment