From 66c03b40550ae6435468c413e717c14f639cf395 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 15 Jan 2018 22:27:56 +0100 Subject: [PATCH] CMake: fix broken logic around Python --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e3c4ee7fe..6ba0e3e73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -180,10 +180,12 @@ if ( PYTHONLIBS_FOUND ) ) endif() -if( PYTHONLIBS_NOTFOUND OR NOT CALAMARES_BOOST_PYTHON3_FOUND ) +if( NOT PYTHONLIBS_FOUND OR NOT CALAMARES_BOOST_PYTHON3_FOUND ) + message(STATUS "Disabling Boost::Python modules") set( WITH_PYTHON OFF ) endif() -if( PYTHONLIBS_NOTFOUND OR NOT PYTHONQT_FOUND ) +if( NOT PYTHONLIBS_FOUND OR NOT PYTHONQT_FOUND ) + message(STATUS "Disabling PythonQt modules") set( WITH_PYTHONQT OFF ) endif()