Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Vlad Gheorghiu <[email protected]>
  • Loading branch information
vsoftco committed May 1, 2024
1 parent 999b298 commit 4586e50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ jobs:
run: |
dir 'C:/Program Files (x86)/staq/bin/staq_circ.exe'
cmake --build build --target uninstall
dir 'C:/Program Files (x86)/staq/bin/'
dir 'C:/Program Files (x86)/staq/bin/staq_circ.exe'
# - name: Install pystaq
# shell: bash
Expand Down
4 changes: 3 additions & 1 deletion cmake/staq_uninstall.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
execute_process(
COMMAND @CMAKE_COMMAND@ -E "rm $ENV{DESTDIR}${file}"
COMMAND "@CMAKE_COMMAND@" -E rm -f "$ENV{DESTDIR}${file}"
OUTPUT_VARIABLE rm_out
RESULT_VARIABLE rm_retval)
message(STATUS "ENVDESTDIR: $ENV{DESTDIR}")
message(STATUS "file: ${file}")
message(STATUS "rm_out: ${rm_out}")
message(STATUS "rm_retval: ${rm_retval}")
if(${rm_retval})
Expand Down

0 comments on commit 4586e50

Please sign in to comment.