CMakeLists.txt 519 Bytes
Newer Older
Jan Möbius's avatar
   
Jan Möbius committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)

15
  openflipper_plugin ( DEPS PhySim CGAL Boost GMP
Jan Möbius's avatar
Jan Möbius committed
16
17
    		       INSTALLDATA Icons
 		      )
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 )
Jan Möbius's avatar
   
Jan Möbius committed
21
endif ()