7 lines
282 B
CMake
7 lines
282 B
CMake
|
if(NOT TARGET uninstall)
|
||
|
configure_file("${CMAKE_CURRENT_LIST_DIR}/CMLibUninstall.cmake.in"
|
||
|
"${CMAKE_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY)
|
||
|
|
||
|
add_custom_target(uninstall COMMAND ${CMAKE_COMMAND} -P ${CMAKE_BINARY_DIR}/cmake_uninstall.cmake)
|
||
|
endif()
|