Skip to content

Commit

Permalink
cmake(build): indicate portable build in package name
Browse files Browse the repository at this point in the history
  • Loading branch information
trollixx committed Sep 18, 2023
1 parent 3e3e62b commit 980c52f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ if(WIN32)
set(_package_file_name_suffix "-windows-unknown")
endif()
endif()

if(ZEAL_PORTABLE_BUILD)
string(PREPEND _package_file_name_suffix "-portable")
endif()

set(CPACK_PACKAGE_FILE_NAME "${_project_output_name}-${ZEAL_VERSION_FULL}${_package_file_name_suffix}")

set(CPACK_PACKAGE_INSTALL_DIRECTORY ${CPACK_PACKAGE_NAME})
Expand Down

0 comments on commit 980c52f

Please sign in to comment.