RTTI needs to be disabled in cycles for OSL.
authorLukas Toenne <lukas.toenne@googlemail.com>
Mon, 3 Sep 2012 11:38:20 +0000 (11:38 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Mon, 3 Sep 2012 11:38:20 +0000 (11:38 +0000)
intern/cycles/CMakeLists.txt

index 697427081c3274d146b9523c44ee08a6231d4d20..337eebe4be09e5d858287ee7e0781a9c8cc12ab4 100644 (file)
@@ -20,8 +20,8 @@ elseif(CMAKE_COMPILER_IS_GNUCC)
        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffast-math")
 endif()
 
        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffast-math")
 endif()
 
-# for OSL, not needed yet
-set(RTTI_DISABLE_FLAGS "-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID")
+# for OSL
+set(RTTI_DISABLE_FLAGS "-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID")
 # set(RTTI_DISABLE_FLAGS "/GR- -DBOOST_NO_RTTI -DBOOST_NO_TYPEID")
 
 # Definitions and Includes
 # set(RTTI_DISABLE_FLAGS "/GR- -DBOOST_NO_RTTI -DBOOST_NO_TYPEID")
 
 # Definitions and Includes