Commit 442d5051 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Added -fno-tree-vrp to CMake definition, since tree-vrp optimization breaks...

Added -fno-tree-vrp to CMake definition, since tree-vrp optimization breaks the code for some strange reason.
parent 7683390d
......@@ -119,8 +119,11 @@ IF(WIN32)
ELSEIF(UNIX)
LIST(APPEND CampvisGlobalDefinitions "-DUNIX")
LIST(APPEND CampvisGlobalDefinitions "-DUNIX -Wall")
LIST(APPEND CampvisGlobalDefinitions "-Wall")
LIST(APPEND CampvisGlobalDefinitions "-D__STDC_CONSTANT_MACROS")
# disable tree-vrp optimization in gcc, which for some strange reason breaks tgt's matrix code...
LIST(APPEND CampvisGlobalDefinitions "-fno-tree-vrp")
ENDIF(WIN32)
# tgt configuration
......
Supports Markdown
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