CMake: Removing all lhapdf link dependencies
[u/mrichter/AliRoot.git] / EVGEN / CMakeLists.txt
index 9e79c28..2b21421 100644 (file)
@@ -20,7 +20,7 @@ set(MODULE EVGEN)
 include_directories(${AliRoot_SOURCE_DIR}/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
-include_directories(${ROOT_INCLUDE_DIRS}
+include_directories(${ROOT_INCLUDE_DIR}
                     ${AliRoot_SOURCE_DIR}/FASTSIM
                     ${AliRoot_SOURCE_DIR}/LHAPDF
                     ${AliRoot_SOURCE_DIR}/STEER/ESD
@@ -108,7 +108,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
 
 # Generate the ROOT map
 # Dependecies
-set(LIBDEPS STEERBase STEER ESD lhapdf TEvtGen FASTSIM THepMCParser)
+set(LIBDEPS STEERBase STEER ESD TEvtGen FASTSIM THepMCParser)
 generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
 
 # Add a library to the project using the specified source files