Commit ef0d12a2 authored by Nick Laurenson's avatar Nick Laurenson
Browse files

Enable to compile the superbuild alone

parent a43e496f
......@@ -102,7 +102,11 @@ function (superbuild_find_projects var)
endif()
endif()
add_project_to_superbuild(projects)
if (DEFINED add_project_to_superbuild)
add_project_to_superbuild(projects)
else (DEFINED add_project_to_superbuild)
message(WARNING "The function add_project_to_superbuild is not defined. Only LidarView's common dependencies will be compile.")
endif(DEFINED add_project_to_superbuild)
set("${var}"
${projects}
PARENT_SCOPE)
......
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