diff options
| -rw-r--r-- | kde-modules/KDECMakeSettings.cmake | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/kde-modules/KDECMakeSettings.cmake b/kde-modules/KDECMakeSettings.cmake index 4ccbf82e..000761fb 100644 --- a/kde-modules/KDECMakeSettings.cmake +++ b/kde-modules/KDECMakeSettings.cmake @@ -41,6 +41,10 @@  #  # This section can be disabled by setting ``KDE_SKIP_BUILD_SETTINGS`` to TRUE  # before including this module. +# +# This section also provides an "uninstall" target that can be individually +# disabled by setting ``KDE_SKIP_UNINSTALL_TARGET`` to TRUE before including +# this module.  #=============================================================================  # Copyright 2014      Alex Merry <alex.merry@kde.org> @@ -177,5 +181,10 @@ if(NOT KDE_SKIP_BUILD_SETTINGS)        set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")     endif() +   option(KDE_SKIP_UNINSTALL_TARGET "Prevent an \"uninstall\" target from being generated." OFF) +   if(NOT KDE_SKIP_UNINSTALL_TARGET) +       include("${ECM_MODULE_DIR}/ECMUninstallTarget.cmake") +   endif() +  endif()  ################################################################### | 
