Blame view

cmake/modules/FindKT17.cmake 482 Bytes
3e353d23   Furkan   Process creadted ...
1
2
FIND_PATH(KT17INCLUDE_DIR libkt.h
  HINTS
274e80eb   Erdogan Furkan   Final fixes for kt17
3
    ${USERLOCAL_ROOT}/include
3e353d23   Furkan   Process creadted ...
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  NO_DEFAULT_PATH
)
mark_as_advanced(KT17INCLUDE_DIR)

find_library(KT17LIBRARY 
    NAMES kt
    HINTS
      ${USERLOCAL_ROOT}/lib
    NO_DEFAULT_PATH
)
mark_as_advanced(KT17LIBRARY)

include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(KT17 DEFAULT_MSG KT17LIBRARY KT17INCLUDE_DIR)

if(KT17_FOUND)
   set(KT17INCLUDE_DIRS ${KT17INCLUDE_DIR})
   set(KT17LIBRARIES ${KT17LIBRARY})
endif()