Fix not found library notice in CMakeLists

This commit is contained in:
Simon Giraudot
2018-07-05 09:08:28 +02:00
parent b28a548b8e
commit c50ccdbcde
2 changed files with 7 additions and 7 deletions
@@ -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()