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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user