mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 19:45:41 -04:00
[cmake] CheckPugiXML.cmake: PugiXML 1.10 doesn't define the alias target "pugixml::pugixml".
From Ubuntu Launchpad: CMake Error at src/libromdata/CMakeLists.txt:488 (ADD_LIBRARY): Target "romdata" links to target "pugixml::pugixml" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
This commit is contained in:
parent
075ae289bb
commit
5481b385f5
@ -17,7 +17,13 @@ IF(NOT USE_INTERNAL_XML)
|
|||||||
# Found system PugiXML.
|
# Found system PugiXML.
|
||||||
SET(HAVE_XML 1)
|
SET(HAVE_XML 1)
|
||||||
# NOTE: PugiXML's CMake configuration files don't set pugixml_LIBRARY.
|
# NOTE: PugiXML's CMake configuration files don't set pugixml_LIBRARY.
|
||||||
SET(pugixml_LIBRARY pugixml::pugixml CACHE INTERNAL "PugiXML library" FORCE)
|
IF(TARGET pugixml::pugixml)
|
||||||
|
SET(pugixml_LIBRARY pugixml::pugixml CACHE INTERNAL "PugiXML library" FORCE)
|
||||||
|
ELSEIF(TARGET pugixml)
|
||||||
|
SET(pugixml_LIBRARY pugixml CACHE INTERNAL "PugiXML library" FORCE)
|
||||||
|
ELSE()
|
||||||
|
MESSAGE(FATAL_ERROR "Unable to find the correct PugiXML target.")
|
||||||
|
ENDIF()
|
||||||
ELSE()
|
ELSE()
|
||||||
# System PugiXML was not found.
|
# System PugiXML was not found.
|
||||||
# NOTE: Some older versions, e.g. 1.7-2 (Ubuntu 16.04), lack both
|
# NOTE: Some older versions, e.g. 1.7-2 (Ubuntu 16.04), lack both
|
||||||
|
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
|||||||
rom-properties (2.5-1ppa6~focal1) focal; urgency=medium
|
rom-properties (2.5-1ppa6~focal2) focal; urgency=medium
|
||||||
|
|
||||||
* Build for Ubuntu 20.04 "Focal" Fossa.
|
* Build for Ubuntu 20.04 "Focal" Fossa.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user