[libcalamaresui] Do not link publicly to yamlcpp
This commit is contained in:
parent
401a090cae
commit
4b2b74bdbd
@ -72,12 +72,11 @@ calamares_add_library( calamaresui
|
|||||||
EXPORT_MACRO UIDLLEXPORT_PRO
|
EXPORT_MACRO UIDLLEXPORT_PRO
|
||||||
LINK_LIBRARIES
|
LINK_LIBRARIES
|
||||||
Qt5::Svg
|
Qt5::Svg
|
||||||
yamlcpp
|
|
||||||
RESOURCES libcalamaresui.qrc
|
RESOURCES libcalamaresui.qrc
|
||||||
EXPORT Calamares
|
EXPORT Calamares
|
||||||
VERSION ${CALAMARES_VERSION_SHORT}
|
VERSION ${CALAMARES_VERSION_SHORT}
|
||||||
)
|
)
|
||||||
|
target_link_libraries( calamaresui PRIVATE yamlcpp )
|
||||||
if( KF5CoreAddons_FOUND AND KF5CoreAddons_VERSION VERSION_GREATER_EQUAL 5.58 )
|
if( KF5CoreAddons_FOUND AND KF5CoreAddons_VERSION VERSION_GREATER_EQUAL 5.58 )
|
||||||
target_compile_definitions( calamaresui PRIVATE WITH_KOSRelease )
|
target_compile_definitions( calamaresui PRIVATE WITH_KOSRelease )
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user