cmlib/CMLibUninstall.cmake

8 lines
314 B
CMake
Raw Normal View History

2019-02-12 16:31:17 +00:00
if(NOT TARGET uninstall)
2019-02-16 10:10:12 +00:00
configure_file("${CMLIB_MODULE_DIR}/CMLibUninstall.cmake.in"
2019-12-03 16:23:14 +00:00
"${CMAKE_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY)
2019-02-12 16:31:17 +00:00
2019-12-03 16:23:14 +00:00
add_custom_target(uninstall COMMAND ${CMAKE_COMMAND} -P
${CMAKE_BINARY_DIR}/cmake_uninstall.cmake)
2019-02-12 16:31:17 +00:00
endif()