We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91441e4 commit 9fc3416Copy full SHA for 9fc3416
CMakeLists.txt
@@ -65,14 +65,15 @@ set (top_srcdir .)
65
configure_file (sigc++.pc.in sigc++-${SIGCXX_API_VERSION}.pc @ONLY)
66
configure_file (sigc++-uninstalled.pc.in sigc++-${SIGCXX_API_VERSION}-uninstalled.pc @ONLY)
67
68
+if (NOT TARGET uninstall)
69
configure_file(
70
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
71
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
72
IMMEDIATE @ONLY)
73
74
add_custom_target(uninstall
75
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
-
76
+endif()
77
78
install (FILES
79
"${CMAKE_CURRENT_BINARY_DIR}/sigc++config.h"
0 commit comments