Skip to content

Commit

Permalink
cmake include
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannimarchiori committed Jan 27, 2025
1 parent d121260 commit 2b060de
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Tracking/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ project(${PackageName})

#find_package(GenFit)
find_package(MarlinUtil REQUIRED)

list(APPEND CMAKE_MODULE_PATH $ENV{PANDORAPFA}/cmakemodules)
find_package(PandoraSDK REQUIRED)
FOREACH( pkg MarlinUtil PandoraSDK )
IF( ${pkg}_FOUND )
INCLUDE_DIRECTORIES( ${${pkg}_INCLUDE_DIRS} )
LINK_LIBRARIES( ${${pkg}_LIBRARIES} )
ADD_DEFINITIONS ( ${${pkg}_DEFINITIONS} )
ENDIF()
ENDFOREACH()
#if (GenFit_FOUND)

file(GLOB sources
Expand Down

0 comments on commit 2b060de

Please sign in to comment.