Blame view

cmake/modules/FindDDClientCpp.cmake 556 Bytes
cfe8df50   Benjamin Renard   DD_Client is now ...
1
2
FIND_PATH(DDCLIENTINCLUDE_DIR DD.hh
  HINTS
6c8de11c   Benjamin Renard   Remove hard coded...
3
4
    ${USERLOCAL_ROOT}/include/DDClientLibCpp
  NO_DEFAULT_PATH
cfe8df50   Benjamin Renard   DD_Client is now ...
5
6
7
8
9
10
)
mark_as_advanced(DDCLIENTINCLUDE_DIR)

find_library(DDCLIENTLIBRARY 
    NAMES DDClientLibCpp
    HINTS
6c8de11c   Benjamin Renard   Remove hard coded...
11
12
    	${USERLOCAL_ROOT}/lib
    NO_DEFAULT_PATH
cfe8df50   Benjamin Renard   DD_Client is now ...
13
14
15
16
17
18
19
20
21
22
)
mark_as_advanced(DDCLIENTLIBRARY)

include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(DDClient DEFAULT_MSG DDCLIENTLIBRARY DDCLIENTINCLUDE_DIR)

if(DDCLIENT_FOUND)
    set(DDCLIENTINCLUDE_DIRS ${DDCLIENTINCLUDE_DIR})
    set(DDCLIENTLIBRARIES ${DDCLIENTLIBRARY})
endif()