diff options
Diffstat (limited to 'examples/beginner')
| -rw-r--r-- | examples/beginner/cppdemo/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | examples/beginner/hello/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/beginner/cppdemo/CMakeLists.txt b/examples/beginner/cppdemo/CMakeLists.txt index c43d4a1..11a35ed 100644 --- a/examples/beginner/cppdemo/CMakeLists.txt +++ b/examples/beginner/cppdemo/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( cppdemo @@ -12,7 +12,7 @@ project( ) file(GLOB _sources *.cpp) -psn00bsdk_add_executable(cppdemo STATIC ${_sources}) +psn00bsdk_add_executable(cppdemo GPREL ${_sources}) #psn00bsdk_add_cd_image(cppdemo_iso cppdemo iso.xml DEPENDS cppdemo) install(FILES ${PROJECT_BINARY_DIR}/cppdemo.exe TYPE BIN) 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) |
