pothosware / PothosPlotters

Plotter widgets for visualization in Pothos GUI
https://github.com/pothosware/PothosPlotters/wiki
Boost Software License 1.0
11 stars 12 forks source link

QWT paths on cmake #21

Closed ra1nb0w closed 5 years ago

ra1nb0w commented 5 years ago

In MacPorts we can have multiple QWT versions so I need to pass as parameters where to find the right one, in this case QWT 6. Unfortunately the following doesn't work

    -DQWT_INCLUDE_DIRS=${qt_dir}/lib/qwt.framework/Versions/6/Headers \                                                                                                                           
    -DQWT_LIBRARIES=${qt_dir}/lib/qwt.framework/qwt

Probably, CMakeLists.txt needs to set this value. thanks

guruofquality commented 5 years ago

Can you try QWT_INCLUDE_DIR and QWT_LIBRARY?

The ones you used are actually overwritten in the findqwt.cmake with the "singular" defines. So that may be it.

ra1nb0w commented 5 years ago

Oh..I didn't see those! thank you!