This is an automated email from the ASF dual-hosted git repository.
swebb2066 pushed a commit to branch next_stable
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
The following commit(s) were added to refs/heads/next_stable by this push:
new eb30ac62 Fix thread_local detection using some cmake versions (e.g.
3.16)
eb30ac62 is described below
commit eb30ac626480f9e2d8c9c23439436a52b6e567f1
Author: Stephen Webb <[email protected]>
AuthorDate: Sun Sep 18 18:41:43 2022 +1000
Fix thread_local detection using some cmake versions (e.g. 3.16)
---
src/main/include/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/include/CMakeLists.txt b/src/main/include/CMakeLists.txt
index a2558309..caba4629 100644
--- a/src/main/include/CMakeLists.txt
+++ b/src/main/include/CMakeLists.txt
@@ -154,7 +154,7 @@ foreach(varName
continue()
elseif(${varName} EQUAL 1)
continue()
- elseif("${varName}" STREQUAL "ON" OR "${varName}" STREQUAL "TRUE")
+ elseif(${varName} STREQUAL "ON" OR ${varName} STREQUAL "TRUE")
set(${varName} 1 )
else()
set(${varName} 0 )