Added QTLibs directory to cpack

This commit is contained in:
BagelSketches 2025-07-03 16:48:29 +10:00
parent 7a35aa36da
commit 798de7589f
2 changed files with 10 additions and 6 deletions

View File

@ -107,7 +107,12 @@ jobs:
- name: Build (CMake)
run: cmake --build build --verbose
- name: Pack QT Libs(windows)
if: ${{ matrix.os == 'windows-latest' }}
run: |
cd build
mkdir QTLibs
windeployqt isle-config.exe --dir QTLibs
- name: Package (CPack)
if: ${{ !matrix.n3ds }}
@ -144,11 +149,6 @@ jobs:
cd build
mkdir dist
mv *.3dsx dist/
- name: Pack stuff(windows)
if: ${{ matrix.os == 'windows-latest' }}
run: |
cd build/dist
windeployqt isle-config.exe
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4

View File

@ -668,6 +668,10 @@ if(NINTENDO_3DS)
ICON "ISLE/res/3ds/isle.png"
)
if(WIN32){
install(DIRECTORY "$<TARGET_FILE_DIR:isle>/QTLibs" DESTINATION "${CMAKE_INSTALL_BINDIR}")
}
ctr_create_3dsx(isle SMDH isle.smdh)
install(FILES "$<TARGET_FILE_DIR:isle>/isle.3dsx" DESTINATION "${CMAKE_INSTALL_BINDIR}")
endif()