Skip to content

Commit cbae259

Browse files
Copilotunivrsal
andcommitted
Fix .deb packaging: add SHLIBDEPS_PRIVATE_DIRS for FetchContent SDL3 and enable packaging on workflow_dispatch
Co-authored-by: univrsal <8353672+univrsal@users.noreply.github.com>
1 parent 534b93c commit cbae259

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build-project.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
fi
5151
;;
5252
workflow_dispatch)
53-
config_data=('codesign:true' 'notarize:false' 'package:false' 'config:RelWithDebInfo')
53+
config_data=('codesign:true' 'notarize:false' 'package:true' 'config:RelWithDebInfo')
5454
;;
5555
schedule)
5656
config_data=('codesign:true' 'notarize:false' 'package:true' 'config:RelWithDebInfo')

cmake/linux/defaults.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CM
1818

1919
set(CPACK_GENERATOR "DEB")
2020
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
21+
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS "${CMAKE_BINARY_DIR}/_deps/sdl3-build")
2122
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "${PLUGIN_EMAIL}")
2223
set(CPACK_SET_DESTDIR ON)
2324

0 commit comments

Comments
 (0)