CMakeLists.txt 594 Bytes
Newer Older
Jan Möbius's avatar
 
Jan Möbius committed
1 2 3 4 5
include (plugin)

if (EXISTS ${CMAKE_SOURCE_DIR}/libs/PhySim)
  add_definitions (-DUSE_PHYSIM)

6
  openflipper_plugin ( DEPS PhySim CGAL Boost GMP CoMISo BLAS
Jan Möbius's avatar
Jan Möbius committed
7
    		       INSTALLDATA Icons
Jan Möbius's avatar
Jan Möbius committed
8
                       TYPES POLYLINE
Jan Möbius's avatar
Jan Möbius committed
9
 		      )
10 11 12 13 14 15 16 17

  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 )

Jan Möbius's avatar
 
Jan Möbius committed
18
else()
Jan Möbius's avatar
Jan Möbius committed
19 20
  openflipper_plugin ( INSTALLDATA Icons 
                       TYPES POLYLINE)
Jan Möbius's avatar
 
Jan Möbius committed
21
endif ()