# Generate the ROOT map
# Dependecies
-set(LIBDEPS)
+set(LIBDEPS MathCore lhapdf)
generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
# 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")