mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
[libcalamaresui] Check KCoreAddons version directly
This commit is contained in:
parent
bcb7f17584
commit
44991e700b
1 changed files with 1 additions and 3 deletions
|
@ -75,8 +75,6 @@ calamares_add_library( calamaresui
|
|||
VERSION ${CALAMARES_VERSION_SHORT}
|
||||
)
|
||||
|
||||
find_package( KF5CoreAddons 5.58 QUIET ) # If it's really new
|
||||
if ( KF5CoreAddons_FOUND )
|
||||
if ( KF5CoreAddons_FOUND AND KF5CoreAddons_VERSION VERSION_GREATER_EQUAL 5.58 )
|
||||
target_compile_definitions( calamaresui PRIVATE WITH_KOSRelease )
|
||||
target_link_libraries( calamaresui PRIVATE KF5::CoreAddons )
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue