diff options
| author | Laurent Montel <montel@kde.org> | 2007-09-24 12:56:38 +0000 | 
|---|---|---|
| committer | Laurent Montel <montel@kde.org> | 2007-09-24 12:56:38 +0000 | 
| commit | b39e393363141e698087445d723a1ee1eb266e8b (patch) | |
| tree | f060ac54f5fbb49a3f0a39e998e5cb013ea74a99 | |
| parent | 783cde1f0c62d68d25c6e6627f7e53108da1c6f9 (diff) | |
| download | extra-cmake-modules-b39e393363141e698087445d723a1ee1eb266e8b.tar.gz extra-cmake-modules-b39e393363141e698087445d723a1ee1eb266e8b.tar.bz2 | |
Allow to put TEST arg as second argument
svn path=/trunk/KDE/kdelibs/; revision=716277
| -rw-r--r-- | modules/KDE4Macros.cmake | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 078577b2..a3bf028a 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -654,6 +654,12 @@ macro(KDE4_CHECK_EXECUTABLE_PARAMS _output_LIST _nogui _uninst _test)        set(remove 0)     endif (${first_PARAM} STREQUAL "TEST") +   if (${second_PARAM} STREQUAL "TEST") +      set(${_test} "TEST") +      set(remove 0;1) +   endif (${second_PARAM} STREQUAL "TEST") + +     if (NOT "${remove}" STREQUAL "NOTFOUND")        list(REMOVE_AT ${_output_LIST} ${remove}) | 
