mirror of
https://github.com/ScrelliCopter/tmx2gba.git
synced 2025-02-21 03:29:25 +11:00
streamline bundled dependency CMake scripts
This commit is contained in:
@@ -6,15 +6,14 @@ project(tmx2gba
|
||||
|
||||
# Options
|
||||
option(TMX2GBA_DKP_INSTALL "Install into DEVKITPRO prefix" OFF)
|
||||
option(ASAN "Enable address sanitiser" OFF)
|
||||
option(ENABLE_ASAN "Enable address sanitiser" OFF)
|
||||
|
||||
if (ASAN)
|
||||
if (ENABLE_ASAN)
|
||||
add_compile_options(-fsanitize=address -fno-omit-frame-pointer)
|
||||
add_link_options(-fsanitize=address -shared-libasan)
|
||||
endif()
|
||||
|
||||
# Libraries
|
||||
set(TMXLITE_STATIC_LIB ON)
|
||||
set(USE_ZSTD ON)
|
||||
add_subdirectory(ext/miniz)
|
||||
add_subdirectory(ext/pugixml)
|
||||
|
||||
Reference in New Issue
Block a user