-
Notifications
You must be signed in to change notification settings - Fork 7
/
InfoLoggerConfig.cmake.in
31 lines (27 loc) · 1.39 KB
/
InfoLoggerConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# - Config file for the InfoLogger package
# It defines the following variables
# InfoLogger_INCLUDE_DIR - include directory
# InfoLogger_LIBRARY_DIR - libraries directory
# InfoLogger_EXECUTABLE_DIR - executables directory
# InfoLogger_SHARE_DIR - share directory
# InfoLogger_LIBRARIES_STATIC - list of static libraries (without prefix and suffix)
# InfoLogger_LIBRARIES_SHARED - list of shared libraries (without prefix and suffix)
# InfoLogger_LIBRARIES - list of shared libraries (without prefix and suffix)
# Here you can set other variables, for example XXX_LIBRARIES (libraries
# needed to use InfoLogger), XXX_DEFINITIONS (compiler switches required to use
# InfoLogger).
# Usually the user will then do stuff like:
# if(XXX_FOUND) ... endif
# target_link_libraries(${XXX_LIBRARIES})
# include_directories(${XXX_INCLUDE_DIR})
# add_definitions(${XXX_DEFINITIONS})
set(InfoLogger_VERSION "@VERSION@")
message(STATUS "InfoLogger version: ${InfoLogger_VERSION}")
set(InfoLogger_LIBRARIES_STATIC "InfoLogger-static")
set(InfoLogger_LIBRARIES_SHARED "InfoLogger-shared")
set(InfoLogger_LIBRARIES "InfoLogger-shared")
@PACKAGE_INIT@
set_and_check(InfoLogger_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
set_and_check(InfoLogger_LIBRARY_DIR "@PACKAGE_LIB_INSTALL_DIR@")
set_and_check(InfoLogger_SHARE_DIR "@PACKAGE_SHARE_INSTALL_DIR@")
# More can be added of course...