From 986cad5edebd0d1ecd705a31c06fd71cbd5a8f00 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 30 Nov 2021 12:12:56 +0000 Subject: [PATCH] CMake: Better info messages --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index feabfed3b..d3b4df9b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,7 +183,7 @@ ecbuild_add_option( FEATURE MEMORY_MANAGEMENT DESCRIPTION "Enable memory manag ecbuild_add_option( FEATURE ALIGN_MEMORY DESCRIPTION "Enable memory alignment" DEFAULT OFF ADVANCED ) ecbuild_add_option( FEATURE TIMER DESCRIPTION "Enable timer" DEFAULT OFF ADVANCED ) ecbuild_add_option( FEATURE ECCODES_THREADS DESCRIPTION "Enable POSIX threads" DEFAULT OFF ADVANCED ) -ecbuild_add_option( FEATURE ECCODES_OMP_THREADS DESCRIPTION "Enable OMP threads" DEFAULT OFF ADVANCED ) +ecbuild_add_option( FEATURE ECCODES_OMP_THREADS DESCRIPTION "Enable OpenMP threads" DEFAULT OFF ADVANCED ) ecbuild_add_option( FEATURE EXTRA_TESTS DESCRIPTION "Enable extended regression testing" DEFAULT OFF ADVANCED ) ############################################################################### @@ -285,11 +285,11 @@ endif() # Cannot have both options if( HAVE_ECCODES_THREADS AND HAVE_ECCODES_OMP_THREADS ) - ecbuild_critical("Cannot enable both POSIX threads and OMP! Please specify just one option") + ecbuild_critical("Cannot enable both POSIX threads and OpenMP! Please specify just one option") endif() -ecbuild_info(" GRIB_PTHREADS=${GRIB_PTHREADS}") -ecbuild_info(" GRIB_OMP_THREADS=${GRIB_OMP_THREADS}") +ecbuild_info(" POSIX THREADS = ${GRIB_PTHREADS}") +ecbuild_info(" OpenMP THREADS= ${GRIB_OMP_THREADS}") set( GRIB_MEM_ALIGN 0 ) if( ENABLE_ALIGN_MEMORY )