CMake: version 3.16 doesn't support the rm command
This commit is contained in:
@@ -14,7 +14,7 @@ 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}"
|
||||
-E remove "$ENV{DESTDIR}${file}"
|
||||
OUTPUT_VARIABLE rm_out
|
||||
RESULT_VARIABLE rm_retval)
|
||||
if(NOT "${rm_retval}" STREQUAL 0)
|
||||
|
||||
Reference in New Issue
Block a user