Fix CMakeLists (exit() -> return())

This commit is contained in:
Simon Giraudot
2018-01-12 14:15:04 +01:00
parent 739ccc00bb
commit d9ee692059
2 changed files with 2 additions and 2 deletions
@@ -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)