CMakeLists.txt 259 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
include(plugin)

find_package(Qwt5)

if(Qwt5_Qt4_FOUND)
  add_definitions(-DWITH_QWT)
  MESSAGE(STATUS, "include path: ${Qwt5_INCLUDE_DIR}")
  openflipper_plugin(INCDIRS ${Qwt5_INCLUDE_DIR} LIBRARIES ${Qwt5_Qt4_LIBRARY})
else()
  openflipper_plugin()
endif()