1 FIND_PATH(STK_INCLUDE_DIR Stk.h
4 ${CMAKE_INSTALL_PREFIX}/include/stk
5 ${CMAKE_FIND_ROOT_PATH}/include/stk)
7 FIND_LIBRARY(STK_LIBRARY NAMES stk
8 PATH /usr/lib /usr/local/lib ${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_FIND_ROOT_PATH}/lib)
10 IF (STK_INCLUDE_DIR AND STK_LIBRARY)
12 ENDIF (STK_INCLUDE_DIR AND STK_LIBRARY)
15 IF (NOT STK_FIND_QUIETLY)
16 MESSAGE(STATUS "Found STK: ${STK_LIBRARY}")
18 ENDIF (NOT STK_FIND_QUIETLY)
20 IF (STK_FIND_REQUIRED)
21 MESSAGE(FATAL_ERROR "Could not find STK")
22 ENDIF (STK_FIND_REQUIRED)