diff --git a/src/utils/rinex-tools/CMakeLists.txt b/src/utils/rinex-tools/CMakeLists.txt index 0d9c0adce..7cae35ccd 100644 --- a/src/utils/rinex-tools/CMakeLists.txt +++ b/src/utils/rinex-tools/CMakeLists.txt @@ -35,7 +35,7 @@ if("${ARMADILLO_VERSION_STRING}" VERSION_GREATER "9.800" OR (NOT ARMADILLO_FOUND -Wno-deprecated -Wno-unused-parameter -Wno-sign-compare -Wno-reorder ) endif() - + if(NOT ARMADILLO_FOUND OR ENABLE_OWN_ARMADILLO) add_dependencies(obsdiff armadillo-${armadillo_RELEASE}) endif() @@ -75,5 +75,6 @@ if("${ARMADILLO_VERSION_STRING}" VERSION_GREATER "9.800" OR (NOT ARMADILLO_FOUND ) else() message(STATUS "The Armadillo library version found (${ARMADILLO_VERSION_STRING}) is older than 9.800.") - message(STATUS "The obsdiff utility tool will not be built.") + message(STATUS " The obsdiff utility tool will not be built.") + message(STATUS " You could build it by setting -DENABLE_OWN_ARMADILLO=ON") endif() diff --git a/src/utils/rinex2assist/CMakeLists.txt b/src/utils/rinex2assist/CMakeLists.txt index 90976c023..1ef214f3c 100644 --- a/src/utils/rinex2assist/CMakeLists.txt +++ b/src/utils/rinex2assist/CMakeLists.txt @@ -100,7 +100,17 @@ if(Boost_FOUND) ) else() message(STATUS "Boost Iostreams library not found.") - message(STATUS "The rinex2assist utility tool will not be built.") + message(STATUS " The rinex2assist utility tool will not be built.") + if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|kFreeBSD|GNU") + message(STATUS " You can install the Boost Iostreams library it by doing:") + if(${LINUX_DISTRIBUTION} MATCHES "Fedora" OR ${LINUX_DISTRIBUTION} MATCHES "Red Hat") + message(STATUS " sudo yum install boost-iostreams") + elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE") + message(STATUS " sudo zypper install libboost_iostreams-devel") + else() + message(STATUS " sudo apt-get install libboost-iostreams-dev") + endif() + endif() endif() set(Boost_FOUND TRUE) # trick for summary report