diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 270da8750..ee000cf56 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -98,11 +98,6 @@ jobs: run: | copy build/cl_dll/Debug/client.pdb dist/${{ steps.extract_gamedir.outputs.gamedir }}/cl_dlls/ copy build/dlls/Debug/hl.pdb dist/${{ steps.extract_gamedir.outputs.gamedir }}/dlls/ - - name: Delete .lib files from dist - if: startsWith(matrix.os, 'windows') - run: | - Remove-Item -Force -Path dist/${{ steps.extract_gamedir.outputs.gamedir }}/cl_dlls/client.lib - Remove-Item -Force -Path dist/${{ steps.extract_gamedir.outputs.gamedir }}/dlls/hl.lib - name: Upload linux artifact if: startsWith(matrix.os, 'ubuntu') uses: actions/upload-artifact@v4 diff --git a/cl_dll/CMakeLists.txt b/cl_dll/CMakeLists.txt index c28315fbd..cbcae6ce8 100644 --- a/cl_dll/CMakeLists.txt +++ b/cl_dll/CMakeLists.txt @@ -228,7 +228,8 @@ if(HAVE_LTO) endif() install( TARGETS ${CLDLL_LIBRARY} - DESTINATION "${GAMEDIR}/${CLIENT_INSTALL_DIR}/" + RUNTIME DESTINATION "${GAMEDIR}/${CLIENT_INSTALL_DIR}/" + LIBRARY DESTINATION "${GAMEDIR}/${CLIENT_INSTALL_DIR}/" PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE ) diff --git a/dlls/CMakeLists.txt b/dlls/CMakeLists.txt index e4f63e787..3d15daf3b 100644 --- a/dlls/CMakeLists.txt +++ b/dlls/CMakeLists.txt @@ -189,7 +189,8 @@ if(HAVE_LTO) endif() install( TARGETS ${SVDLL_LIBRARY} - DESTINATION "${GAMEDIR}/${SERVER_INSTALL_DIR}/" + RUNTIME DESTINATION "${GAMEDIR}/${SERVER_INSTALL_DIR}/" + LIBRARY DESTINATION "${GAMEDIR}/${SERVER_INSTALL_DIR}/" PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)