Commit d66aacce authored by Nikola Hardi's avatar Nikola Hardi
Browse files

Fix CMake support for AGU

parent 50e45209
Pipeline #946389 failed with stage
in 58 seconds
......@@ -22,12 +22,11 @@ set(LIBNAME JAliEnROOT)
include_directories(${LIBNAME} ${OPENSSL_INCLUDE_DIR})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/inc)
include_directories(${AGU}/include)
file(GLOB SRCS "src/*.cxx")
string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
string(REPLACE "src" "inc" HDRS "${HDRS}")
set(HDRS ${HDRS} "${AGU}/include/TAliceCollection.h" "${AGU}/include/TAliceFile.h")
set(HDRS ${HDRS} "inc/TAliceCollection.h" "inc/TAliceFile.h")
ROOT_GENERATE_DICTIONARY(G__${LIBNAME} "${HDRS}" LINKDEF LinkDef.h)
add_library(${LIBNAME} SHARED "${SRCS}" G__${LIBNAME}.cxx)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment