Commit 0a5b2a0e authored by Jan Möbius's avatar Jan Möbius

Enable qwt support for mac os. refs #441

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13773 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f474aba7
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 ()
find_package(Qwt5)
if (NOT APPLE)
find_package(Qwt5)
endif ()
if(NOT APPLE AND Qwt5_Qt4_FOUND)
if(Qwt5_Qt4_FOUND)
message("a")
add_definitions(-DWITH_QWT)
openflipper_plugin(INCDIRS ${Qwt5_INCLUDE_DIR} LIBRARIES ${Qwt5_Qt4_LIBRARY})
else()
......
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