Using ALICE_TARGET to define the system
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Oct 2008 10:55:08 +0000 (10:55 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Oct 2008 10:55:08 +0000 (10:55 +0000)
cmake/modules/FindGEANT3.cmake

index 6195d54..ae417ca 100644 (file)
@@ -26,12 +26,12 @@ FIND_PATH(GEANT3_INCLUDE_DIR NAMES TGeant3.h PATHS
 )
 
 FIND_PATH(GEANT3_LIBRARY_DIR NAMES libgeant321.so PATHS
-  $ENV{ALICE}/geant3/lib/tgt_macosx64
+  $ENV{ALICE}/geant3/lib/tgt_${ALICE_TARGET}
   NO_DEFAULT_PATH
 )
 
 FIND_LIBRARY(GEANT3_LIB NAMES geant321 PATHS
-  $ENV{ALICE}/geant3/lib/tgt_macosx64
+  $ENV{ALICE}/geant3/lib/tgt_${ALICE_TARGET}
   NO_DEFAULT_PATH
 )