1
0
mirror of https://github.com/ScrelliCopter/tmx2gba.git synced 2025-02-21 03:29:25 +11:00

revamp pugixml find behaviour

This commit is contained in:
2024-03-28 21:14:49 +11:00
parent 320bc19f2d
commit b06ad7cd79
5 changed files with 6 additions and 39 deletions

View File

@@ -25,7 +25,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
if (USE_BUNDLED_PUGIXML)
add_subdirectory(ext/pugixml)
else()
find_package(PUGIXML REQUIRED)
find_package(pugixml REQUIRED CONFIG)
endif()
if (USE_ZLIB)
@@ -42,11 +42,7 @@ endif()
add_subdirectory(ext/base64)
if (USE_BUNDLED_TMXLITE)
add_subdirectory(ext/tmxlite)
else()
find_package(TMXLITE REQUIRED)
endif()
add_subdirectory(ext/tmxlite)
# Main tmx2gba sources
add_subdirectory(src)