Blame view

cmake/modules/FindCon2020.cmake 539 Bytes
9a4854f9   Erdogan Furkan   Implémentation de...
1
2
FIND_PATH(CON2020INCLUDE_DIR libcon2020.h
  HINTS
6593ba1b   Erdogan Furkan   Last modification...
3
    ${USERLOCAL_ROOT}/include/libcon2020
9a4854f9   Erdogan Furkan   Implémentation de...
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  NO_DEFAULT_PATH
)
mark_as_advanced(CON2020INCLUDE_DIR)

find_library(CON2020LIBRARY 
    NAMES con2020
    HINTS
      ${USERLOCAL_ROOT}/lib
    NO_DEFAULT_PATH
)
mark_as_advanced(CON2020LIBRARY)

include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Con2020 DEFAULT_MSG CON2020LIBRARY CON2020INCLUDE_DIR)

if(CON2020_FOUND)
   set(CON2020INCLUDE_DIRS ${CON2020INCLUDE_DIR})
6b9283bc   Erdogan Furkan   Ajout de Con2020,...
21
   set(CON2020LIBRARIES ${CON2020LIBRARY})
9a4854f9   Erdogan Furkan   Implémentation de...
22
endif()