]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA8/pythia8175/CMakeLists.txt
Resolving the symbols in each library
[u/mrichter/AliRoot.git] / PYTHIA8 / pythia8175 / CMakeLists.txt
index 0fcdee6e421639296bd1a3148a44eb1f5c598891..3c7ea6bca35e4c1daa00ec0a8cf4d8fcd1f01c83 100644 (file)
@@ -43,6 +43,7 @@ set(SRCS
   src/History.cxx
   src/Info.cxx 
   src/LesHouches.cxx 
+  src/Merging.cxx 
   src/MergingHooks.cxx 
   src/MiniStringFragmentation.cxx 
   src/MultipartonInteractions.cxx 
@@ -90,11 +91,16 @@ set(SRCS
 add_library(${MODULE} SHARED ${SRCS})
 
 # Do not generate the ROOT map
+# Dependencies
+set(LIBDEPS lhapdf)
 
 # Additional compilation flags
 set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "")
 target_link_libraries(${MODULE} )
 
+# Linking the library
+target_link_libraries(${MODULE} ${LIBDEPS})
+
 # System dependent: Modify the way the library is build
 if(${CMAKE_SYSTEM} MATCHES Darwin)
     set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")