diff --git a/CMakeLists.txt b/CMakeLists.txt index aa8536560..26b95389e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -476,13 +476,11 @@ ecbuild_info(" | ecCodes version ${ECCODES_VERSION} |") ecbuild_info(" +--------------------------+") ecbuild_info("") -if (PYTHON_FOUND AND PYTHON_VERSION_MAJOR EQUAL 3) - ecbuild_info(" +--------------------------------------+") - ecbuild_info(" | Please note: |") - ecbuild_info(" | For Python3 support, first install |") - ecbuild_info(" | ecCodes and then install the Python |") - ecbuild_info(" | bindings from PyPI with: |") - ecbuild_info(" | $ pip install eccodes-python |") - ecbuild_info(" +--------------------------------------+") - ecbuild_info("") -endif() +ecbuild_info(" +--------------------------------------+") +ecbuild_info(" | Please note: |") +ecbuild_info(" | For Python3 support, first install |") +ecbuild_info(" | ecCodes and then install the Python |") +ecbuild_info(" | bindings from PyPI with: |") +ecbuild_info(" | $ pip install eccodes-python |") +ecbuild_info(" +--------------------------------------+") +ecbuild_info("")