commit 40e6035d94dba859de344dc8ae3985d2ca9a2713
Author: Kornel Benko <[email protected]>
Date:   Sat Jan 14 12:54:08 2017 +0100

    Cmake tests: Use correct 'if' statement to handle language strings
---
 development/autotests/ExportTests.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/development/autotests/ExportTests.cmake 
b/development/autotests/ExportTests.cmake
index 9d3e6d0..bb73ab9 100644
--- a/development/autotests/ExportTests.cmake
+++ b/development/autotests/ExportTests.cmake
@@ -218,7 +218,7 @@ macro(loadTestList filename resList depth splitlangs)
         list(REMOVE_DUPLICATES mylabels)
         set(sublabel ${_newl})
       else()
-       if (splitlangs)
+       if (${splitlangs} MATCHES "ON")
          string(REGEX REPLACE "(\\/|\\||\\(|\\))" "  " _vxx ${_newl})
          string(REGEX MATCHALL " ([a-z][a-z](_[A-Z][A-Z])?) " _vx ${_vxx})
        else()

Reply via email to