Commit 190e15b1 authored by Jan Möbius's avatar Jan Möbius

Dropped QWT5 and removed more qt4 references

parent ae8920d7
......@@ -23,22 +23,11 @@ endif()
list(REMOVE_DUPLICATES CURRENT_PLUGIN_DEPS )
# use Qwt6 for QT5
if (NOT FORCE_QT4 AND QT5_FOUND)
find_package(Qwt6)
if (QWT6_FOUND)
add_definitions(-DWITH_QWT)
openflipper_plugin( DEPS ${CURRENT_PLUGIN_DEPS} Qwt6)
else()
openflipper_plugin( DEPS ${CURRENT_PLUGIN_DEPS})
endif()
find_package(Qwt6)
if (QWT6_FOUND)
add_definitions(-DWITH_QWT)
openflipper_plugin( DEPS ${CURRENT_PLUGIN_DEPS} Qwt6)
else()
find_package(Qwt5)
if(Qwt5_Qt4_FOUND)
add_definitions(-DWITH_QWT)
openflipper_plugin( DEPS ${CURRENT_PLUGIN_DEPS} Qwt5)
else()
openflipper_plugin(DEPS ${CURRENT_PLUGIN_DEPS})
endif()
openflipper_plugin( DEPS ${CURRENT_PLUGIN_DEPS})
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment