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