diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-09-13 18:09:53 +0200 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-09-13 18:09:53 +0200 |
| commit | 5bc36dfcfc64e48401a9c6472062020681b3511f (patch) | |
| tree | 53d7f730458ffa78023070c03dc7814ea58746a8 /CMakeLists.txt | |
| parent | 71496627f90071a2fda809b5460d9c1f99373968 (diff) | |
| download | psn00bsdk-5bc36dfcfc64e48401a9c6472062020681b3511f.tar.gz | |
Misc. CMake bug and typo fixes, updated changelog
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4cca098..71f9acf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ set( ) set( SKIP_EXAMPLES OFF - CACHE BOOL "Skip building SDK examples (which are never installed)" + CACHE BOOL "Skip building SDK examples (not required for installation)" ) # Forward some important variables to mkpsxiso and to the subprojects (they are @@ -54,6 +54,7 @@ set( -DPSN00BSDK_TARGET:STRING=${PSN00BSDK_TARGET} -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${CMAKE_TOOLCHAIN_FILE} -DCMAKE_INSTALL_PREFIX:PATH=${PROJECT_BINARY_DIR}/install_tree + -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} ) set( EXAMPLES_ARGS @@ -61,6 +62,7 @@ set( -DPSN00BSDK_TARGET:STRING=${PSN00BSDK_TARGET} -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${PROJECT_BINARY_DIR}/install_tree/${CMAKE_INSTALL_LIBDIR}/libpsn00b/cmake/sdk.cmake -DCMAKE_INSTALL_PREFIX:PATH=${PROJECT_BINARY_DIR}/examples + -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} ) ## External dependencies @@ -130,9 +132,11 @@ install( ## CPack configuration -# TODO: add a macOS installer and related options if(WIN32) set(CPACK_GENERATOR ZIP NSIS) +elseif(APPLE) + # TODO: add a macOS installer and related options + set(CPACK_GENERATOR ZIP) elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux") set(CPACK_GENERATOR ZIP DEB RPM) else() |
