Merge pull request #644 from petrows/master

Install target should be checked to avoid conflicts
This commit is contained in:
Tsuda Kageyu
2015-08-07 01:20:03 +09:00

View File

@ -127,5 +127,7 @@ configure_file(
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
add_custom_target(uninstall
if (NOT TARGET uninstall)
add_custom_target(uninstall
COMMAND "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
endif()