diff options
| author | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-10-11 11:22:30 +0200 |
|---|---|---|
| committer | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-10-11 11:22:30 +0200 |
| commit | 3f859332c8e345ef3a35e24ab8ee3617cb477df7 (patch) | |
| tree | e9e817278ffab859d261c68b9d1e372c517f91b8 /examples/beginner | |
| parent | 1a468c901a7b473a556c6a572c03c68186f03f89 (diff) | |
| download | psn00bsdk-3f859332c8e345ef3a35e24ab8ee3617cb477df7.tar.gz | |
Bump required CMake version to 3.21
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) |
