add cmake configuration

This commit is contained in:
2016-08-31 20:49:58 +02:00
parent 1f7fbcfae2
commit 316ed783a8
3 changed files with 44 additions and 0 deletions

19
cmake/FindQwt.cmake Normal file
View File

@ -0,0 +1,19 @@
FIND_PATH (QWT_INCLUDE_DIR
NAMES
qwt.h
HINTS
$ENV{QWTDIR}/src
/usr/include/qwt
)
FIND_LIBRARY (QWT_LIBRARY
NAMES qwt
HINTS
$ENV{QWTDIR}/lib
)
SET (QWT_LIBRARIES ${QWT_LIBRARY})
INCLUDE ( FindPackageHandleStandardArgs )
FIND_PACKAGE_HANDLE_STANDARD_ARGS( QWT DEFAULT_MSG QWT_LIBRARIES QWT_INCLUDE_DIR )