mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-22 18:05:45 -05:00
CMake: find YAMLCPP when asked to find Calamares
This commit is contained in:
parent
4b2b74bdbd
commit
604535f65a
1 changed files with 5 additions and 2 deletions
|
@ -27,6 +27,9 @@ if (NOT TARGET Calamares::calamares OR NOT TARGET Calamares::calamaresui)
|
|||
message(FATAL_ERROR "Calamares found with missing CMake targets")
|
||||
endif()
|
||||
|
||||
# Need various CMake files that are installed alongside this one.
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
### Dependencies
|
||||
#
|
||||
# The libraries can depend on a variety of Qt and KDE Frameworks
|
||||
|
@ -60,6 +63,8 @@ if(kf5_required)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
find_package(YAMLCPP REQUIRED)
|
||||
|
||||
### Legacy support
|
||||
#
|
||||
#
|
||||
|
@ -70,8 +75,6 @@ set(Calamares_LIBRARIES Calamares::calamares)
|
|||
### CMake support
|
||||
#
|
||||
#
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
include(CalamaresAddBrandingSubdirectory)
|
||||
include(CalamaresAddLibrary)
|
||||
include(CalamaresAddModuleSubdirectory)
|
||||
|
|
Loading…
Add table
Reference in a new issue