From 40e6035d94dba859de344dc8ae3985d2ca9a2713 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Sat, 14 Jan 2017 12:54:08 +0100 Subject: [PATCH] Cmake tests: Use correct 'if' statement to handle language strings --- development/autotests/ExportTests.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/autotests/ExportTests.cmake b/development/autotests/ExportTests.cmake index 9d3e6d0357..bb73ab9eb2 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() -- 2.39.2