##// END OF EJS Templates
Add Apple runtime config to find CatalogueAPI at runtime when building with cmake
Add Apple runtime config to find CatalogueAPI at runtime when building with cmake

File last commit:

r909:f9b30b97e672
r1061:124e87e46711
Show More
Findsciqlop-gui.cmake
25 lines | 657 B | text/x-cmake | CMakeLexer
/ gui / cmake / Findsciqlop-gui.cmake
# - Try to find sciqlop-gui
# Once done this will define
# SCIQLOP-GUI_FOUND - System has sciqlop-gui
# SCIQLOP-GUI_INCLUDE_DIR - The sciqlop-gui include directories
# SCIQLOP-GUI_LIBRARIES - The libraries needed to use sciqlop-gui
if(SCIQLOP-GUI_FOUND)
return()
endif(SCIQLOP-GUI_FOUND)
set(SCIQLOP-GUI_INCLUDE_DIR ${sciqlop-gui_DIR}/../include)
set (OS_LIB_EXTENSION "so")
if(WIN32)
set (OS_LIB_EXTENSION "dll")
endif(WIN32)
if (APPLE)
set (OS_LIB_EXTENSION "dylib")
endif(APPLE)
set(SCIQLOP-GUI_LIBRARIES ${LIBRARY_OUTPUT_PATH}/libsciqlop_gui${DEBUG_SUFFIX}.${OS_LIB_EXTENSION})
set(SCIQLOP-GUI_FOUND TRUE)