CMakeLists.txt 214 Bytes
Newer Older
Jan Möbius's avatar
   
Jan Möbius committed
1
2
include(plugin)

3
find_package(Qwt5)
Jan Möbius's avatar
   
Jan Möbius committed
4

5
if(Qwt5_Qt4_FOUND)
Jan Möbius's avatar
   
Jan Möbius committed
6
7
8
9
10
  add_definitions(-DWITH_QWT)
  openflipper_plugin(INCDIRS ${Qwt5_INCLUDE_DIR} LIBRARIES ${Qwt5_Qt4_LIBRARY})
else()
  openflipper_plugin()
endif()