Skip to content
Snippets Groups Projects
Commit ec931b08 authored by Administrator's avatar Administrator Committed by Florian Uhlig
Browse files

Include FairRootTargets in FindFairRoot

parent 2dcec7c7
Branches
Tags
1 merge request!1033Remove usage of ROOTSYS environment variable
......@@ -112,7 +112,6 @@ if(VMC_FOUND)
endif()
#Searches for FairROOT Package
include(FairRootTargets)
find_package(FairRoot REQUIRED)
if(FAIRROOT_FOUND)
list(APPEND packages FairRoot)
......
......@@ -64,4 +64,5 @@ else(FAIRROOT_INCLUDE_DIR AND FAIRROOT_LIBRARY_DIR)
MESSAGE(FATAL_ERROR "FairRoot installation not found")
endif (FAIRROOT_INCLUDE_DIR AND FAIRROOT_LIBRARY_DIR)
include(FairRootTargets)
define_fairroot_targets()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment