Browse Source

Fix CMake configuration in case CMAKE_CXX_FLAGS is empty.

Thanks @LB-- for pointing that out!
pull/166/head
Vladimír Vondruš 10 years ago
parent
commit
7685cdf112
  1. 2
      src/CMakeLists.txt

2
src/CMakeLists.txt

@ -32,7 +32,7 @@ endif()
# On MSVC remove /W3, as we are replacing it with /W4
if(MSVC)
string(REPLACE "/W3" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
string(REPLACE "/W3" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
endif()
# Emscripten needs special flag to use WebGL 2

Loading…
Cancel
Save