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

revamp zstd find behaviour

This commit is contained in:
2024-03-28 19:46:21 +11:00
parent 0d9d9de370
commit 320bc19f2d
5 changed files with 176 additions and 50 deletions

View File

@@ -19,7 +19,7 @@ if (ENABLE_ASAN)
add_link_options(-fsanitize=address -shared-libasan)
endif()
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
# Libraries
if (USE_BUNDLED_PUGIXML)
@@ -37,7 +37,7 @@ endif()
if (USE_BUNDLED_ZSTD)
add_subdirectory(ext/zstd)
else()
find_package(ZSTD REQUIRED)
find_package(Zstd REQUIRED)
endif()
add_subdirectory(ext/base64)