From dd32a650f1e7de509eac6094914b41ccd66f75a5 Mon Sep 17 00:00:00 2001 From: Caspar Reist Date: Fri, 4 Jul 2014 15:56:57 +0200 Subject: [PATCH] Giving dynamicETD3D own option Changed according to Armin Hornungs comment. Now both subprojects octovis and dyanmicEDT3D are optional and not coupled --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 73324432..1c56033d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,10 +4,15 @@ PROJECT( octomap-distribution ) ENABLE_TESTING() # enable CTest environment of subprojects option(BUILD_OCTOVIS_SUBPROJECT "Build targets from subproject octovis" ON) +option(BUILD_DYNAMICETD3D_SUBPROJECT "Build targets from subproject dynamicEDT3D" ON) ADD_SUBDIRECTORY( octomap ) + if(BUILD_OCTOVIS_SUBPROJECT) ADD_SUBDIRECTORY( octovis ) +endif() + +if(BUILD_DYNAMICETD3D_SUBPROJECT) ADD_SUBDIRECTORY( dynamicEDT3D ) endif()