From c50ccdbcded0fbe4ca89b25fe2c49f5efdc535e2 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Tue, 19 Jun 2018 10:42:44 +0200 Subject: [PATCH] Fix not found library notice in CMakeLists --- Classification/examples/Classification/CMakeLists.txt | 8 ++++---- Classification/test/Classification/CMakeLists.txt | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Classification/examples/Classification/CMakeLists.txt b/Classification/examples/Classification/CMakeLists.txt index dc244555a12..a61ead1f7c0 100644 --- a/Classification/examples/Classification/CMakeLists.txt +++ b/Classification/examples/Classification/CMakeLists.txt @@ -83,7 +83,7 @@ find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater) if (EIGEN3_FOUND) include( ${EIGEN3_USE_FILE} ) else() - message(STATUS "NOTICE: Classification requires Eigen, which was not found. No example will be compiled.") + message(STATUS "NOTICE: This project requires the Eigen library, and will not be compiled.") return() endif() @@ -93,10 +93,10 @@ if (Boost_SERIALIZATION_FOUND AND Boost_IOSTREAMS_FOUND) ${Boost_IOSTREAMS_LIBRARY}) else() if (NOT Boost_SERIALIZATION_FOUND) - message(STATUS "NOTICE: Classification requires Boost Serialization, which was not found. No example will be compiled.") + message(STATUS "NOTICE: This project requires Boost Serialization, and will not be compiled.") endif() if (NOT Boost_IOSTREAMS_FOUND) - message(STATUS "NOTICE: Classification requires Boost IO Streams, which was not found. No example will be compiled.") + message(STATUS "NOTICE: This project requires Boost IO Streams, and will not be compiled.") endif() return() endif() @@ -106,7 +106,7 @@ if( WIN32 ) set(classification_linked_libraries ${classification_linked_libraries} ${Boost_ZLIB_LIBRARY}) else() - message(STATUS "NOTICE: Classification requires Boost ZLIB, which was not found. No example will be compiled.") + message(STATUS "NOTICE: This project requires Boost ZLIB, and will not be compiled.") return() endif() endif() diff --git a/Classification/test/Classification/CMakeLists.txt b/Classification/test/Classification/CMakeLists.txt index 39a70153d52..6e3ee18b173 100644 --- a/Classification/test/Classification/CMakeLists.txt +++ b/Classification/test/Classification/CMakeLists.txt @@ -71,10 +71,10 @@ if (Boost_SERIALIZATION_FOUND AND Boost_IOSTREAMS_FOUND) ${Boost_IOSTREAMS_LIBRARY}) else() if (NOT Boost_SERIALIZATION_FOUND) - message(STATUS "NOTICE: Classification requires Boost Serialization, which was not found. No test will be compiled.") + message(STATUS "NOTICE: This project requires Boost Serialization, and will not be compiled.") endif() if (NOT Boost_IOSTREAMS_FOUND) - message(STATUS "NOTICE: Classification requires Boost IO Streams, which was not found. No test will be compiled.") + message(STATUS "NOTICE: This project requires Boost IO Streams, and will not be compiled.") endif() return() endif() @@ -84,7 +84,7 @@ if( WIN32 ) set(classification_linked_libraries ${classification_linked_libraries} ${Boost_ZLIB_LIBRARY}) else() - message(STATUS "NOTICE: Classification requires Boost ZLIB, which was not found. No test will be compiled.") + message(STATUS "NOTICE: This project requires Boost ZLIB, and will not be compiled.") return() endif() endif()