File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 1- include ("${CMAKE_CURRENT_LIST_DIR} /InfoLoggerTargets.cmake" )
1+ # get path to this file
2+ get_filename_component (INFOLOGGER_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE} " PATH )
3+ message (STATUS "InfoLogger found - using cmake targets in ${INFOLOGGER_CMAKE_DIR} " )
4+
5+ # dependencies for clients using the library
6+ # we now package a standalone version of libInfoLogger
7+ # so the lines below are not needed - kept for reference
8+ # include(CMakeFindDependencyMacro)
9+ # find_dependency(Common REQUIRED)
10+
11+ # declare InfoLogger target
12+ if (NOT TARGET AliceO2::InfoLogger)
13+ include ("${INFOLOGGER_CMAKE_DIR} /InfoLoggerTargets.cmake" )
14+ endif ()
15+
16+ # declare variable for backward compatibility in client programs not using cmake targets
17+ set (InfoLogger_LIBRARIES AliceO2::InfoLogger)
You can’t perform that action at this time.
0 commit comments