Commit b05f9e25 authored by Dominik Charousset's avatar Dominik Charousset Committed by Dominik Charousset

Fix uninstall target when building CAF as subdir

parent 504d4c0b
......@@ -472,10 +472,12 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
if(NOT TARGET uninstall)
add_custom_target(uninstall)
endif()
add_custom_command(TARGET uninstall
add_custom_target(caf_uninstall)
add_custom_command(TARGET caf_uninstall
PRE_BUILD
COMMAND "${CMAKE_COMMAND}" -P
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
add_dependencies(uninstall caf_uninstall)
################################################################################
# set inclue paths for subprojects #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment