]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Add missing libraries to resolve all symbols
authorhristov <Peter.Hristov@cern.ch>
Tue, 25 Nov 2014 17:26:14 +0000 (18:26 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:52:01 +0000 (13:52 +0100)
HLT/BASE/interface/CMakeLists.txt
HLT/pendolino/CMakeLists.txt

index 0401cf3db7509fcd273cbfa919246ff6cdb266a5..78cf8f39c378bc4ef25af4cff2c883159ae42750 100644 (file)
@@ -40,7 +40,7 @@ get_directory_property(incdirs INCLUDE_DIRECTORIES)
 generate_dictionary("${MODULE}" "HLTinterface-LinkDef.h" "${HDRS}" "${incdirs}")
 
 # Generate the ROOT map
-# Dependecies
+# Dependencies
 set(LIBDEPS HLTbase)
 generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
 
@@ -49,6 +49,7 @@ add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
 
 # Additional compilation flags
 set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
+target_link_libraries(${MODULE} HLTbase)
 
 # System dependent: Modify the way the library is build
 if(${CMAKE_SYSTEM} MATCHES Darwin)
index 303f071752d5bf12048adc745ddb87aafe87d152..93a7ad2cba2189b0da81e2624d883277fe611e99 100644 (file)
@@ -56,7 +56,7 @@ generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
 
 # Generate the ROOT map
 # Dependecies
-set(LIBDEPS STEERBase STEER CDB TPCbase HLTbase)
+set(LIBDEPS STEER CDB TPCbase TPCrec HLTbase)
 generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
 
 set(LIBHLTPENDOLINO_VERSION 0)
@@ -64,6 +64,7 @@ add_definitions("-DLIBHLTPENDELINO_VERSION=${LIBHLTPENDOLINO_VERSION}")
 
 # Add a library to the project using the specified source files
 add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
+target_link_libraries(${MODULE} STEER CDB TPCbase TPCrec HLTbase)
 
 # Additional compilation flags
 set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")