aboutsummaryrefslogtreecommitdiff
path: root/examples/io
diff options
context:
space:
mode:
authorspicyjpeg <thatspicyjpeg@gmail.com>2022-10-11 11:22:30 +0200
committerspicyjpeg <thatspicyjpeg@gmail.com>2022-10-11 11:22:30 +0200
commit3f859332c8e345ef3a35e24ab8ee3617cb477df7 (patch)
treee9e817278ffab859d261c68b9d1e372c517f91b8 /examples/io
parent1a468c901a7b473a556c6a572c03c68186f03f89 (diff)
downloadpsn00bsdk-3f859332c8e345ef3a35e24ab8ee3617cb477df7.tar.gz
Bump required CMake version to 3.21
Diffstat (limited to 'examples/io')
-rw-r--r--examples/io/pads/CMakeLists.txt4
-rw-r--r--examples/io/system573/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/io/pads/CMakeLists.txt b/examples/io/pads/CMakeLists.txt
index cf5f817..618b696 100644
--- a/examples/io/pads/CMakeLists.txt
+++ b/examples/io/pads/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(
pads
@@ -12,7 +12,7 @@ project(
)
file(GLOB _sources *.c *.s)
-psn00bsdk_add_executable(pads STATIC ${_sources})
+psn00bsdk_add_executable(pads GPREL ${_sources})
#psn00bsdk_add_cd_image(pads_iso pads iso.xml DEPENDS pads)
install(FILES ${PROJECT_BINARY_DIR}/pads.exe TYPE BIN)
diff --git a/examples/io/system573/CMakeLists.txt b/examples/io/system573/CMakeLists.txt
index 2a362e8..34b0d69 100644
--- a/examples/io/system573/CMakeLists.txt
+++ b/examples/io/system573/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(
system573
@@ -12,7 +12,7 @@ project(
)
file(GLOB _sources *.c *.s)
-psn00bsdk_add_executable(system573 STATIC ${_sources})
+psn00bsdk_add_executable(system573 GPREL ${_sources})
psn00bsdk_add_cd_image(system573_iso system573 iso.xml DEPENDS system573)
install(