Browse Source

Re-enabled RTTI from eb82cb462a.

It causes too many linking problems in depending projects and IMHO it's
not good to force disabling RTTI in everything depending on Magnum.
Vladimír Vondruš 14 years ago
parent
commit
b0ce091df2
  1. 2
      src/CMakeLists.txt

2
src/CMakeLists.txt

@ -1,4 +1,4 @@
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wold-style-cast -pedantic -std=c++0x -fvisibility=hidden -fno-rtti -fno-exceptions")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wold-style-cast -pedantic -std=c++0x -fvisibility=hidden -fno-exceptions")
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wdouble-promotion")

Loading…
Cancel
Save