mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix: Add back fallback to pkgconfig for tomlplusplus (#4416)
This commit is contained in:
commit
fbe239eb3d
1 changed files with 6 additions and 0 deletions
|
|
@ -338,6 +338,12 @@ if(NOT LibArchive_FOUND)
|
|||
endif()
|
||||
|
||||
find_package(tomlplusplus 3.2.0 REQUIRED)
|
||||
# fallback to pkgconfig, important especially as many distros package toml++ built with meson
|
||||
if(NOT tomlplusplus_FOUND)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(tomlplusplus REQUIRED IMPORTED_TARGET tomlplusplus>=3.2.0)
|
||||
endif()
|
||||
|
||||
find_package(ZLIB REQUIRED)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue