aboutsummaryrefslogtreecommitdiff
path: root/examples/beginner/hello
diff options
context:
space:
mode:
Diffstat (limited to 'examples/beginner/hello')
-rw-r--r--examples/beginner/hello/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/beginner/hello/CMakeLists.txt b/examples/beginner/hello/CMakeLists.txt
index d8297c5..98ab43b 100644
--- a/examples/beginner/hello/CMakeLists.txt
+++ b/examples/beginner/hello/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(
hello
@@ -12,7 +12,7 @@ project(
)
file(GLOB _sources *.c)
-psn00bsdk_add_executable(hello STATIC ${_sources})
+psn00bsdk_add_executable(hello GPREL ${_sources})
#psn00bsdk_add_cd_image(hello_iso hello iso.xml DEPENDS hello)
install(FILES ${PROJECT_BINARY_DIR}/hello.exe TYPE BIN)