Commit 180a8fcf authored by Jan Möbius's avatar Jan Möbius

Only add frounding math, if cgal is actually used



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15794 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 49d9f00c
include (plugin)
if ( WIN32 )
# Do not use frounding flag
else ( WIN32 )
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -frounding-math")
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -frounding-math")
endif ( WIN32 )
if (EXISTS ${CMAKE_SOURCE_DIR}/libs/PhySim)
add_definitions (-DUSE_PHYSIM)
openflipper_plugin ( DEPS PhySim CGAL Boost GMP CoMISo
INSTALLDATA Icons
)
if ( WIN32 )
# Do not use frounding flag
else ( WIN32 )
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -frounding-math")
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -frounding-math")
endif ( WIN32 )
else()
openflipper_plugin ( INSTALLDATA
Icons )
......
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