]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TEvtGen/THepMCParser/CMakeLists.txt
Resolving the symbols in each library
[u/mrichter/AliRoot.git] / TEvtGen / THepMCParser / CMakeLists.txt
index 1d4257488939538476f6f8dad33300031491d951..8913172a89f99afebb5a0fe2528b3bc894c5a87e 100644 (file)
@@ -40,7 +40,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
 
 # Generate the ROOT map
 # Dependecies
-set(LIBDEPS  )
+set(LIBDEPS  HepMC EG Physics Tree)
 generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
 
 # Add a library to the project using the specified source files
@@ -49,6 +49,9 @@ add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
 # Additional compilation flags
 set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "")
 
+# 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")