]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - cmake/FindFASTJET.cmake
correct event rejection and initialisation
[u/mrichter/AliRoot.git] / cmake / FindFASTJET.cmake
index 3a9db2c939f1070728cb67c50298a8d74c764d11..beb56cf4de3ed147ce5c0a777e5b46cd361f2029 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Simple first version; checks env variables and fastjet-config; verifies that fastjet/PseudoJet.hh exists
 
-cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
+cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
 
 # FASTJET_ROOT is a legacy env variable; could be removed
 if (NOT FASTJET)
@@ -36,5 +36,6 @@ if (FASTJET AND NOT FASTJET-NOTFOUND)
   set (FASTJET_DEFINITIONS -DHAVE_FASTJET)
 else()
   message(STATUS "FASTJET not found; make sure to set the FASTJET_ROOT environment variable or have fastjet-config in your path to use fastjet")
+  set (FASTJET)
 endif(FASTJET AND NOT FASTJET-NOTFOUND)