Skip to content
Snippets Groups Projects
Commit 368186eb authored by Mirko Wächter's avatar Mirko Wächter
Browse files

removed FindQwt

parent 33fd1190
No related branches found
No related tags found
No related merge requests found
Pipeline #
if (qwt_INCLUDE_DIR AND qwt_LIBRARIES)
# in cache already
set(qwt_FOUND TRUE)
else()
if (NOT qwt_DIR)
set(qwt_DIR $ENV{QWT_DIR})
endif (NOT qwt_DIR)
find_path(qwt_INCLUDE_DIR qwt.h
# installation selected by user
${qwt_DIR}
${qwt_DIR}/src
${qwt_DIR}/include
/usr/include/qwt
)
message(STATUS "qwt_DIR: ${qwt_DIR}")
message(STATUS "qwt-Include: ${qwt_INCLUDE_DIR}")
if (ARMARX_OS_WIN)
message(STATUS "no qwt installed for windows")
else()
find_library(qwt_LIBRARY
NAMES qwt
PATHS ${qwt_DIR}/lib)
message(STATUS "qwt-lib: ${qwt_LIBRARY}")
endif()
set(qwt_LIBRARIES ${qwt_LIBRARY})
set(qwt_INCLUDE_DIRS ${qwt_INCLUDE_DIR})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(qwt DEFAULT_MSG qwt_INCLUDE_DIR qwt_LIBRARIES)
set(qwt_FOUND ${QWT_FOUND})
mark_as_advanced(qwt_INCLUDE_DIR qwt_LIBRARIES)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment