CMake: remove unnecessary spaces
CMake-coding-style isn't C++-coding-style.
This commit is contained in:
parent
d6184e5cff
commit
8f9c26edb6
@ -184,9 +184,9 @@ set( _tx_incomplete bqi es_PR gu ie ja-Hira kk kn lo lv mk ne_NP
|
||||
# ci/abicheck.sh).
|
||||
if(NOT WITH_QT6)
|
||||
find_package(Qt5Core QUIET)
|
||||
if (NOT TARGET Qt5::Core)
|
||||
if(NOT TARGET Qt5::Core)
|
||||
find_package(Qt6Core QUIET)
|
||||
if (TARGET Qt6::Core)
|
||||
if(TARGET Qt6::Core)
|
||||
message(STATUS "Default Qt version (Qt5) not found, upgrading build to Qt6")
|
||||
set(WITH_QT6 ON)
|
||||
endif()
|
||||
@ -732,7 +732,7 @@ add_custom_target(uninstall COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_D
|
||||
# The module support files -- .desc files, .conf files -- are copied into the build
|
||||
# directory so that it is possible to run `calamares -d` from there. Copy the
|
||||
# top-level settings.conf as well, into the build directory.
|
||||
if( settings.conf IS_NEWER_THAN ${CMAKE_BINARY_DIR}/settings.conf )
|
||||
if(settings.conf IS_NEWER_THAN ${CMAKE_BINARY_DIR}/settings.conf)
|
||||
configure_file(settings.conf ${CMAKE_BINARY_DIR}/settings.conf COPYONLY)
|
||||
endif()
|
||||
|
||||
|
@ -15,7 +15,7 @@ if(NOT TARGET calapmcore)
|
||||
find_package(${kfname}I18n CONFIG)
|
||||
find_package(${kfname}WidgetsAddons CONFIG)
|
||||
|
||||
if( WITH_QT6)
|
||||
if(WITH_QT6)
|
||||
find_package(KPMcore 24.01.75)
|
||||
else()
|
||||
find_package(KPMcore 20.04.0)
|
||||
|
Loading…
Reference in New Issue
Block a user