CMakeLists.txt 512 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)

Jan Möbius's avatar
Jan Möbius committed
15
openflipper_plugin ( OPTDEPS PhySim  
Jan Möbius's avatar
Jan Möbius committed
16
		     INSTALLDATA Icons
Jan Möbius's avatar
   
Jan Möbius committed
17
18
19
20
21
		    )
else()
  openflipper_plugin ( LICENSEMANAGER
                       INSTALLDATA Icons )
endif ()