Skip to content

Commit

Permalink
Fix includes and library dependencies in case ZeroMQ is found in a no…
Browse files Browse the repository at this point in the history
…n-standard location
  • Loading branch information
mfasDa authored and hristov committed Aug 8, 2015
1 parent 9d6286f commit 9c902b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions EVE/EveBase/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ set(MODULE EveBase)
# Module include folder
include_directories(${AliRoot_SOURCE_DIR}/EVE/${MODULE})

if(ZEROMQ_FOUND)
include_directories(${ZEROMQ_INCLUDE_DIR})
endif(ZEROMQ_FOUND)

# Additional include folders in alphabetical order
include_directories(${ROOT_INCLUDE_DIR}
${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
Expand Down Expand Up @@ -118,6 +122,9 @@ generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}
# Add a library to the project using the specified source files
add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
target_link_libraries(${MODULE} ${LIBDEPS})
if(ZEROMQ_FOUND)
target_link_libraries(${MODULE} ${ZEROMQ_LIBRARIES})
endif(ZEROMQ_FOUND)

#target_link_libraries(${MODULE} STEERBase STEER ESD CDB AOD RAWDatabase RAWDatarec ANALYSIS ANALYSISalice ITSbase ITSrec TPCbase TPCrec TPCsim EG Eve Ged Gpad Graf Graf3d Gui Minuit Net RGL Rint)

Expand Down

0 comments on commit 9c902b1

Please sign in to comment.