You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+2-50Lines changed: 2 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -33,31 +33,7 @@ ADD_CUSTOM_TARGET(man ALL)
33
33
#In case you need Fortran
34
34
#ENABLE_LANGUAGE(Fortran)
35
35
36
-
# Check for needed environment variables
37
-
#IF not stop execution unless modular build is activated
38
-
Option(ALICEO2_MODULAR_BUILD"Modular build without environment variables"OFF)
39
-
IF (NOT ALICEO2_MODULAR_BUILD)
40
-
IF (NOTDEFINED ENV{FAIRROOTPATH})
41
-
MESSAGE(FATAL_ERROR"You did not define the environment variable FAIRROOTPATH which is needed to find FairRoot. Please set this variable and execute cmake again.")
42
-
ENDIF (NOTDEFINEDENV{FAIRROOTPATH})
43
-
44
-
IF (NOTDEFINED ENV{SIMPATH})
45
-
MESSAGE(FATAL_ERROR"You did not define the environment variable SIMPATH which is nedded to find the external packages. Please set this variable and execute cmake again.")
46
-
ENDIF (NOTDEFINEDENV{SIMPATH})
47
-
48
-
SET(SIMPATH $ENV{SIMPATH})
49
-
SET(FAIRROOTPATH $ENV{FAIRROOTPATH})
50
-
51
-
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/
0 commit comments