aboutsummaryrefslogtreecommitdiff
path: root/examples/system/childexec
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/system/childexec
parent1a468c901a7b473a556c6a572c03c68186f03f89 (diff)
downloadpsn00bsdk-3f859332c8e345ef3a35e24ab8ee3617cb477df7.tar.gz
Bump required CMake version to 3.21
Diffstat (limited to 'examples/system/childexec')
-rw-r--r--examples/system/childexec/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/system/childexec/CMakeLists.txt b/examples/system/childexec/CMakeLists.txt
index 7e91589..0c25ca4 100644
--- a/examples/system/childexec/CMakeLists.txt
+++ b/examples/system/childexec/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(
childexec
@@ -13,8 +13,8 @@ project(
file(GLOB _sources *.c)
file(GLOB _child_sources child/*.c)
-psn00bsdk_add_executable(parent STATIC ${_sources})
-psn00bsdk_add_executable(child STATIC ${_child_sources})
+psn00bsdk_add_executable(parent GPREL ${_sources})
+psn00bsdk_add_executable(child GPREL ${_child_sources})
#psn00bsdk_add_cd_image(childexec_iso childexec iso.xml DEPENDS parent)
psn00bsdk_target_incbin(parent PRIVATE ball16c ball16c.tim)