An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 2af0e6a4 authored by Nick Laurenson's avatar Nick Laurenson
Browse files

fix Build specific and not only commom dependancies

The wrong keyword was used, DEFNIED is for variable, COMMAND is for
function and macro

Introduce by ef0d12a2
parent 0d14d3da
......@@ -104,11 +104,11 @@ function (superbuild_find_projects var)
endif()
endif()
if (DEFINED add_project_to_superbuild)
if (COMMAND add_project_to_superbuild)
add_project_to_superbuild(projects)
else (DEFINED add_project_to_superbuild)
else (COMMAND 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)
endif(COMMAND 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