aboutsummaryrefslogtreecommitdiff
path: root/examples/cdrom/cdxa
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cdrom/cdxa')
-rw-r--r--examples/cdrom/cdxa/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cdrom/cdxa/CMakeLists.txt b/examples/cdrom/cdxa/CMakeLists.txt
index 70ef77c..fd2f653 100644
--- a/examples/cdrom/cdxa/CMakeLists.txt
+++ b/examples/cdrom/cdxa/CMakeLists.txt
@@ -1,7 +1,7 @@
# PSn00bSDK example CMake script
# (C) 2021 spicyjpeg - MPL licensed
-cmake_minimum_required(VERSION 3.20)
+cmake_minimum_required(VERSION 3.21)
project(
cdxa
@@ -13,7 +13,7 @@ project(
# TODO: add rules to actually generate a valid .XA file
file(GLOB _sources *.c)
-psn00bsdk_add_executable(cdxa STATIC ${_sources})
+psn00bsdk_add_executable(cdxa GPREL ${_sources})
#psn00bsdk_add_cd_image(cdxa_iso cdxa iso.xml DEPENDS cdxa)
psn00bsdk_target_incbin(cdxa PRIVATE ball16c ball16c.tim)