]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MUONgraphics/CMakeLists.txt
Fix building task directory name
[u/mrichter/AliRoot.git] / MUON / MUONgraphics / CMakeLists.txt
index 8d88074da1fbed7bea5b700b32e1069c6c790cb5..6b08196026beeb96c505091afce4c719150638a0 100644 (file)
@@ -90,7 +90,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
 
 # Generate the ROOT map
 # Dependecies
-set(LIBDEPS STEERBase STEER CDB ESD RAWDatabase RAWDatarec MUONbase MUONcore MUONmapping MUONcalib MUONrec MUONgeometry)
+set(LIBDEPS STEERBase STEER CDB ESD RAWDatabase RAWDatarec MUONbase MUONcore MUONmapping MUONcalib MUONrec MUONgeometry Rint)
 generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
 
 
@@ -100,6 +100,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")