From: agrigora Date: Tue, 17 Feb 2015 09:46:12 +0000 (+0100) Subject: CMake: Removing all lhapdf link dependencies X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=e614e20281827c81f08264e85c266d0d6360002d;hp=d1f88e61c241fe5a4f54fe0259133b9cb035060c CMake: Removing all lhapdf link dependencies Removing all lhapdf link dependencies in order to be able to switch between versions --- diff --git a/EVGEN/CMakeLists.txt b/EVGEN/CMakeLists.txt index 80cbe5b298b..2b2142151e3 100644 --- a/EVGEN/CMakeLists.txt +++ b/EVGEN/CMakeLists.txt @@ -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 diff --git a/HERWIG/CMakeLists.txt b/HERWIG/CMakeLists.txt index 418ad08fd6f..d36edf4eabf 100644 --- a/HERWIG/CMakeLists.txt +++ b/HERWIG/CMakeLists.txt @@ -43,7 +43,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}") # Generate the ROOT map # Dependecies -set(LIBDEPS MathCore lhapdf) +set(LIBDEPS MathCore) generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h") # Add a library to the project using the specified source files diff --git a/PYTHIA6/AliPythia6/CMakeLists.txt b/PYTHIA6/AliPythia6/CMakeLists.txt index da42241860b..afcac1c3d32 100644 --- a/PYTHIA6/AliPythia6/CMakeLists.txt +++ b/PYTHIA6/AliPythia6/CMakeLists.txt @@ -60,7 +60,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}") # Generate the ROOT map # Dependecies -set(LIBDEPS STEERBase STEER lhapdf EVGEN FASTSIM EGPythia6 qpythia microcern) +set(LIBDEPS STEERBase STEER EVGEN FASTSIM EGPythia6 qpythia microcern) generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h") diff --git a/PYTHIA6/pythia6/CMakeLists.txt b/PYTHIA6/pythia6/CMakeLists.txt index dd2d321656b..53f47163bb6 100644 --- a/PYTHIA6/pythia6/CMakeLists.txt +++ b/PYTHIA6/pythia6/CMakeLists.txt @@ -53,7 +53,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}") # Generate the ROOT map # Dependecies -set(LIBDEPS MathCore lhapdf) +set(LIBDEPS MathCore) generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h") diff --git a/PYTHIA8/AliPythia8/CMakeLists.txt b/PYTHIA8/AliPythia8/CMakeLists.txt index 5284eb9a507..f26de61f313 100644 --- a/PYTHIA8/AliPythia8/CMakeLists.txt +++ b/PYTHIA8/AliPythia8/CMakeLists.txt @@ -47,7 +47,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}") # Generate the ROOT map # Dependecies -set(LIBDEPS STEERBase STEER AliPythia6 lhapdf EVGEN pythia8175 ) +set(LIBDEPS STEERBase STEER AliPythia6 EVGEN pythia8175 ) generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h") diff --git a/PYTHIA8/pythia8175/CMakeLists.txt b/PYTHIA8/pythia8175/CMakeLists.txt index 8a151f23fab..bf55af38693 100644 --- a/PYTHIA8/pythia8175/CMakeLists.txt +++ b/PYTHIA8/pythia8175/CMakeLists.txt @@ -105,7 +105,7 @@ add_library(${MODULE} SHARED ${SRCS}) # Do not generate the ROOT map # Dependencies -set(LIBDEPS lhapdf) +set(LIBDEPS) # Additional compilation flags set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "") diff --git a/TEPEMGEN/CMakeLists.txt b/TEPEMGEN/CMakeLists.txt index 40e0eac6887..3ad54c4c7f7 100644 --- a/TEPEMGEN/CMakeLists.txt +++ b/TEPEMGEN/CMakeLists.txt @@ -50,7 +50,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}") # Generate the ROOT map # Dependecies -set(LIBDEPS EVGEN STEER AliPythia6 lhapdf microcern) +set(LIBDEPS EVGEN STEER AliPythia6 microcern) generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h") # Add a library to the project using the specified source files diff --git a/THerwig/CMakeLists.txt b/THerwig/CMakeLists.txt index 6220418d298..f3b2f4fa144 100644 --- a/THerwig/CMakeLists.txt +++ b/THerwig/CMakeLists.txt @@ -45,7 +45,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}") # Generate the ROOT map # Dependecies -set(LIBDEPS HERWIG EVGEN lhapdf STEER STEERBase ) +set(LIBDEPS HERWIG EVGEN STEER STEERBase ) generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h") # Add a library to the project using the specified source files diff --git a/TPHIC/CMakeLists.txt b/TPHIC/CMakeLists.txt index 774b90371c8..00be433dccc 100644 --- a/TPHIC/CMakeLists.txt +++ b/TPHIC/CMakeLists.txt @@ -48,7 +48,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}") # Generate the ROOT map # Dependecies -set(LIBDEPS EVGEN STEER AliPythia6 lhapdf qpythia microcern) +set(LIBDEPS EVGEN STEER AliPythia6 qpythia microcern) generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h") # Add a library to the project using the specified source files