mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
[libcalamaresui] check for sufficiently-new KF5CoreAddons
- From 5.58, KOSRelease is available (not used yet, though)
This commit is contained in:
parent
a9f3b4050c
commit
5bae7b7b52
1 changed files with 5 additions and 0 deletions
|
@ -83,3 +83,8 @@ calamares_add_library( calamaresui
|
|||
EXPORT CalamaresLibraryDepends
|
||||
VERSION ${CALAMARES_VERSION_SHORT}
|
||||
)
|
||||
|
||||
find_package( KF5CoreAddons 5.58 QUIET ) # If it's really new
|
||||
if ( KF5CoreAddons_FOUND )
|
||||
target_compile_definitions( calamaresui PRIVATE WITH_KOSRelease )
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue