mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
add cmake configuration
This commit is contained in:
19
cmake/FindQwt.cmake
Normal file
19
cmake/FindQwt.cmake
Normal 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 )
|
||||
|
Reference in New Issue
Block a user