# Additional compilation flags for the object
set_target_properties(${MODULE}-object PROPERTIES COMPILE_FLAGS "")
# Linking the library, not the object
-target_link_libraries(${MODULE} Core EG Geom Gpad Graf3d Graf Hist MathCore Matrix Minuit Net Physics RIO Tree VMC)
+target_link_libraries(${MODULE} ${LIBDEPS})
# Public include folders that will be propagated to the dependecies
target_include_directories(${MODULE} PUBLIC ${incdirs})