From 0c3424d8516658eded2a5ef7b03b0d1d9d4422e4 Mon Sep 17 00:00:00 2001 From: Duy-Nguyen Ta Date: Sun, 23 Jul 2017 14:55:23 -0400 Subject: [PATCH] rearrange: move build unstable up before toolboxes wraps --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8cf63f4f1..c462f5aa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -360,6 +360,11 @@ add_subdirectory(examples) # Build timing add_subdirectory(timing) +# Build gtsam_unstable +if (GTSAM_BUILD_UNSTABLE) + add_subdirectory(gtsam_unstable) +endif(GTSAM_BUILD_UNSTABLE) + # Matlab toolbox if (GTSAM_INSTALL_MATLAB_TOOLBOX) add_subdirectory(matlab) @@ -384,10 +389,6 @@ if (GTSAM_INSTALL_CYTHON_TOOLBOX) add_subdirectory(cython) endif() -# Build gtsam_unstable -if (GTSAM_BUILD_UNSTABLE) - add_subdirectory(gtsam_unstable) -endif(GTSAM_BUILD_UNSTABLE) # Install config and export files GtsamMakeConfigFile(GTSAM "${CMAKE_CURRENT_SOURCE_DIR}/gtsam_extra.cmake.in")