Skip to content

Commit

Permalink
Check for symlinks when uninstalling
Browse files Browse the repository at this point in the history
Partly addresses #1501
  • Loading branch information
kmilos committed Mar 19, 2021
1 parent e29d113 commit d49affa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/exiv2_uninstall.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FILE(READ "${CMAKE_BINARY_DIR}/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling: ${file}")
IF(EXISTS "${file}")
IF(IS_SYMLINK "${file}" OR EXISTS "${file}")
EXEC_PROGRAM(
"${CMAKE_COMMAND}" ARGS "-E remove \"${file}\""
OUTPUT_VARIABLE rm_out
Expand Down

0 comments on commit d49affa

Please sign in to comment.