move cmake_uninstall.cmake to CMakeModules directory
This commit is contained in:
parent
2b7626a243
commit
b1ffd179d1
|
@ -227,12 +227,12 @@ endif()
|
||||||
#================================================
|
#================================================
|
||||||
# make uninstall rules
|
# make uninstall rules
|
||||||
#================================================
|
#================================================
|
||||||
CONFIGURE_FILE(
|
configure_file(
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
|
"${CMAKE_MODULE_PATH}/cmake_uninstall.cmake.in"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
||||||
IMMEDIATE @ONLY)
|
IMMEDIATE @ONLY)
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(uninstall
|
add_custom_target(uninstall
|
||||||
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
|
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue