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

Jan Möbius's avatar
Jan Möbius committed
3
4
5
if (NOT APPLE)
  find_package(Qwt5)
endif ()
6

Jan Möbius's avatar
Jan Möbius committed
7
if(NOT APPLE AND Qwt5_Qt4_FOUND)
8
9
10
11
12
13
  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()