diff options
Diffstat (limited to 'modules/FindKDE4Internal.cmake')
-rw-r--r-- | modules/FindKDE4Internal.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 778a4534..d4ac2e8a 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -212,6 +212,9 @@ # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. +if(KDE4_FOUND) + # Already found in this cmake run, nothing more to do +else(KDE4_FOUND) include (MacroEnsureVersion) @@ -972,3 +975,6 @@ if (NOT _kde4_uninstall_rule_created) add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake") endif (NOT _kde4_uninstall_rule_created) + +endif(KDE4_FOUND) + |