diff options
Diffstat (limited to 'functions.cmake')
-rw-r--r-- | functions.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/functions.cmake b/functions.cmake index c0e07c1d362..bfff9d23ef6 100644 --- a/functions.cmake +++ b/functions.cmake @@ -547,3 +547,14 @@ endfunction() function(install_fat_java_artifact NAME) install(FILES "target/${NAME}-jar-with-dependencies.jar" DESTINATION lib/jars/) endfunction() + +function(add_auxilliary_modules) + if(EXTRA_PROJECTS) + foreach(PROJECT ${EXTRA_PROJECTS}) + get_filename_component(RELDIR ${PROJECT} NAME) + add_subdirectory(${PROJECT} ${RELDIR}) + endforeach() + endif() +endfunction() + + |