Warning, /plasma/oxygen-gtk/cmake_uninstall.cmake.in is written in an unsupported language. File is not indexed.
0001 if(COMMAND cmake_policy)
0002 if(POLICY CMP0007)
0003 cmake_policy(SET CMP0007 OLD)
0004 endif(POLICY CMP0007)
0005 endif(COMMAND cmake_policy)
0006
0007 if (NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
0008 message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
0009 endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
0010
0011 file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
0012 string(REGEX REPLACE "\n" ";" files "${files}")
0013 list(REVERSE files)
0014 foreach (file ${files})
0015 message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
0016 if (EXISTS "$ENV{DESTDIR}${file}")
0017 execute_process(
0018 COMMAND @CMAKE_COMMAND@ -E remove "$ENV{DESTDIR}${file}"
0019 OUTPUT_VARIABLE rm_out
0020 RESULT_VARIABLE rm_retval
0021 )
0022 if(NOT ${rm_retval} EQUAL 0)
0023 message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
0024 endif (NOT ${rm_retval} EQUAL 0)
0025 else (EXISTS "$ENV{DESTDIR}${file}")
0026 message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
0027 endif (EXISTS "$ENV{DESTDIR}${file}")
0028 endforeach(file)