From a269f03e5d59afcb041287b5ea73d6f23b71dd8e Mon Sep 17 00:00:00 2001 From: NanoAkron Date: Thu, 27 Oct 2016 21:38:29 +0100 Subject: [PATCH] Report Boost library version during compilation --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d82324a..2d4f4f24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -572,6 +572,8 @@ find_package(Boost 1.58 QUIET REQUIRED COMPONENTS system filesystem thread date_ set(CMAKE_FIND_LIBRARY_SUFFIXES ${OLD_LIB_SUFFIXES}) if(NOT Boost_FOUND) die("Could not find Boost libraries, please make sure you have installed Boost or libboost-all-dev (1.58) or the equivalent") +elseif(Boost_FOUND) + message(STATUS "Found Boost Version: ${Boost_VERSION}") endif() include_directories(SYSTEM ${Boost_INCLUDE_DIRS})