From d9ee6920590ec00bc0b12c868f656f525de482d0 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Mon, 8 Jan 2018 09:49:53 +0100 Subject: [PATCH] Fix CMakeLists (exit() -> return()) --- Classification/examples/Classification/CMakeLists.txt | 2 +- Classification/test/Classification/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classification/examples/Classification/CMakeLists.txt b/Classification/examples/Classification/CMakeLists.txt index 0fbd0007ddd..4c73e0f65a5 100644 --- a/Classification/examples/Classification/CMakeLists.txt +++ b/Classification/examples/Classification/CMakeLists.txt @@ -64,7 +64,7 @@ if (Boost_SERIALIZATION_FOUND AND Boost_IOSTREAMS_FOUND) ${Boost_IOSTREAMS_LIBRARY}) else() message(STATUS "NOTICE: Boost Serialization or IO Streams not found, no example will be compiled.") - exit() + return() endif() find_package(OpenCV QUIET) diff --git a/Classification/test/Classification/CMakeLists.txt b/Classification/test/Classification/CMakeLists.txt index ba8fadc149d..a4c55197b3c 100644 --- a/Classification/test/Classification/CMakeLists.txt +++ b/Classification/test/Classification/CMakeLists.txt @@ -64,7 +64,7 @@ if (Boost_SERIALIZATION_FOUND AND Boost_IOSTREAMS_FOUND) ${Boost_IOSTREAMS_LIBRARY}) else() message(STATUS "NOTICE: Boost Serialization or IO Streams not found, no test will be compiled.") - exit() + return() endif() create_single_source_cgal_program( "test_classification_point_set.cpp" CXX_FEATURES ${needed_cxx_features} )