aboutsummaryrefslogtreecommitdiff
path: root/examples/cdrom
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cdrom')
-rw-r--r--examples/cdrom/cdbrowse/CMakeLists.txt4
-rw-r--r--examples/cdrom/cdxa/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/cdrom/cdbrowse/CMakeLists.txt b/examples/cdrom/cdbrowse/CMakeLists.txt
index c2e93fc..0cc091f 100644
--- a/examples/cdrom/cdbrowse/CMakeLists.txt
+++ b/examples/cdrom/cdbrowse/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(
cdbrowse
@@ -12,7 +12,7 @@ project(
)
file(GLOB _sources *.c)
-psn00bsdk_add_executable(cdbrowse STATIC ${_sources})
+psn00bsdk_add_executable(cdbrowse GPREL ${_sources})
psn00bsdk_add_cd_image(cdbrowse_iso cdbrowse iso.xml DEPENDS cdbrowse)
psn00bsdk_target_incbin(cdbrowse PRIVATE ball16c ball16c.tim)
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)