Skip to content

Commit

Permalink
Fix copying dlls to install folder for windows install target
Browse files Browse the repository at this point in the history
  • Loading branch information
The-EG committed Dec 16, 2020
1 parent 58ddd30 commit 334990c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
cd pioneer
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX="C:/Program Files/Pioneer" -DPIONEER_DATA_DIR="C:/Program Files/Pioneer/data" -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_MESSAGE=NEVER -DGIT_EXECUTABLE="c:/Program Files/Git/cmd/git.exe"
cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX="C:/Program Files/Pioneer" -DPIONEER_DATA_DIR="C:/Program Files/Pioneer/data" -DCMAKE_BUILD_TYPE:STRING=Release -DGIT_EXECUTABLE="c:/Program Files/Git/cmd/git.exe"
cmake --build .
- name: Build Pioneer Data
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ install(DIRECTORY data/models/
if (WIN32)
configure_file(pioneer.iss.cmakein pioneer.iss @ONLY)
configure_file(CI/appveyor/msvc/publish.cmd.cmakein publish.cmd @ONLY)
file(GLOB win_libs ../pioneer-thirdparty/win32/bin/x64/vs2017/*.dll)
file(GLOB win_libs ../pioneer-thirdparty/win32/bin/${MSVC_ARCH}/vs2019/*.dll)
install(FILES ${win_libs} DESTINATION ${CMAKE_INSTALL_PREFIX})
if(NOT ISCC)
set(ISCC "C:/Program Files (x86)/Inno Setup 6/ISCC.exe")
Expand Down

0 comments on commit 334990c

Please sign in to comment.