Commit 0cea8577 authored by Jan Möbius's avatar Jan Möbius
parent 7f9badcc
include(plugin)
macro (of_list_filter _list)
if (APPLE OR NOT Qwt5_Qt4_FOUND)
foreach (_element ${${_list}})
if (_element MATCHES "QwtFunctionPlot.*\\.(cc|hh|ui)$")
list (REMOVE_ITEM ${_list} ${_element})
endif ()
endforeach ()
endif ()
endmacro ()
if (NOT APPLE)
find_package(Qwt5)
endif ()
if(NOT APPLE AND 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()
include(plugin)
macro (of_list_filter _list)
if (APPLE OR NOT Qwt5_Qt4_FOUND)
foreach (_element ${${_list}})
if (_element MATCHES "QwtFunctionPlot.*\\.(cc|hh|ui)$")
list (REMOVE_ITEM ${_list} ${_element})
endif ()
endforeach ()
endif ()
endmacro ()
if (NOT APPLE)
find_package(Qwt5)
endif ()
if(NOT APPLE AND 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()
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