File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ SET(FAIRROOTPATH $ENV{FAIRROOTPATH})
3636
3737Set (CheckSrcDir "${FAIRROOTPATH} /share/fairbase/cmake/checks" )
3838
39+ # set cmake policies
40+ include (FairRootCmakePolicies)
41+ set_fairroot_cmake_policies()
42+
3943find_package (FairRoot)
4044
4145# Load some basic macros which are needed later on
@@ -45,8 +49,6 @@ include(CTest)
4549include (CheckCompiler)
4650#include(CheckFortran)
4751
48- set_fairroot_cmake_policies()
49-
5052#Check the compiler and set the compile and link flags
5153If (NOT CMAKE_BUILD_TYPE )
5254 Message ("Set BuildType DEBUG" )
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ SET(FAIRROOTPATH $ENV{FAIRROOTPATH})
3636
3737Set (CheckSrcDir "${FAIRROOTPATH} /share/fairbase/cmake/checks" )
3838
39+ # set cmake policies
40+ include (FairRootCmakePolicies)
41+ set_fairroot_cmake_policies()
42+
3943find_package (FairRoot)
4044
4145# Load some basic macros which are needed later on
@@ -45,8 +49,6 @@ include(CTest)
4549include (CheckCompiler)
4650#include(CheckFortran)
4751
48- set_fairroot_cmake_policies()
49-
5052#Check the compiler and set the compile and link flags
5153If (NOT CMAKE_BUILD_TYPE )
5254 Message ("Set BuildType DEBUG" )
You can’t perform that action at this time.
0 commit comments