CMakeLists.txt 214 Bytes
Newer Older
1 2
include(plugin)

3
find_package(Qwt5)
4

5
if(Qwt5_Qt4_FOUND)
6 7 8 9 10
  add_definitions(-DWITH_QWT)
  openflipper_plugin(INCDIRS ${Qwt5_INCLUDE_DIR} LIBRARIES ${Qwt5_Qt4_LIBRARY})
else()
  openflipper_plugin()
endif()