diff --git a/CMakeLists.txt b/CMakeLists.txt index fbbc33aa..7b4c221b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,14 +111,18 @@ message(" BOOST found in ${Boost_INCLUDE_DIRS}") message(" LibXML2 found in ${LIBXML2_INCLUDE_DIR}") message(" ROOT found in ${ROOT_INCLUDE_DIRS}") if (OpenMP_FOUND) - message(" OpenMP found (version ${OpenMP_CXX_VERSION})") + if (OpenMP_CXX_VERSION) + message(" OpenMP found (version ${OpenMP_CXX_VERSION})") + else (OpenMP_CXX_VERSION) + message(" OpenMP found") + endif (OpenMP_CXX_VERSION) endif (OpenMP_FOUND) if (nexus) message("") #//as35 message(" HDF4 found in ${HDF4_INCLUDE_DIRS}") - message(" HDF5 found in ${HDF5_INCLUDE_DIRS}") - message(" NeXus found in ${NEXUS_INCLUDE_DIR}") + message(" HDF5 found in ${HDF5_INCLUDE_DIRS}") + message(" NeXus found in ${NEXUS_INCLUDE_DIR}") endif (nexus) if (BMWlibs)