CMake: fix broken logic around Python
This commit is contained in:
parent
83eaaf04aa
commit
66c03b4055
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user