cmlib/CMLibUninstall.cmake

10 lines
276 B
CMake
Raw Normal View History

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