##// END OF EJS Templates
Add link option for MAC
Add link option for MAC

File last commit:

r911:f9b30b97e672
r1005:84e39ffca742
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)