[jasper] Fix GBA build

This commit is contained in:
Gary Talent 2023-12-23 16:56:28 -06:00
parent 6e13f1c089
commit 54fe3ac63e
2 changed files with 7 additions and 1 deletions

View File

@ -11,6 +11,12 @@ endif()
include(deps/nostalgia/deps/buildcore/base.cmake)
if(BUILDCORE_TARGET STREQUAL "gba")
include(deps/nostalgia/deps/gbabuildcore/base.cmake)
else()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif()
set(NOSTALGIA_BUILD_PLAYER OFF)
set(NOSTALGIA_BUILD_STUDIO_APP OFF)

View File

@ -3,7 +3,7 @@ add_executable(
app.cpp
)
if(${BUILDCORE_TARGET} STREQUAL "gba")
if(BUILDCORE_TARGET STREQUAL "gba")
set(LOAD_KEEL_MODS FALSE)
set_target_properties(jasper
PROPERTIES