summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergiu Dotenco <sergiu.dotenco@gmail.com>2015-08-08 17:07:07 (GMT)
committerSergiu Dotenco <sergiu.dotenco@gmail.com>2015-08-08 19:26:17 (GMT)
commitcb5487d9015703c19c78400b8dc297e168a1ff3d (patch)
treee1621c72136db2a23e77c6f8dc299bbfb1c78dc2 /src
parentf7691955e8289e539ff60aec6e23336ad5149ff0 (diff)
downloadglog-cb5487d9015703c19c78400b8dc297e168a1ff3d.zip
glog-cb5487d9015703c19c78400b8dc297e168a1ff3d.tar.gz
glog-cb5487d9015703c19c78400b8dc297e168a1ff3d.tar.bz2
cmake: allow to disable multithreading support
This commit additionally enables threading for win32 by default.
Diffstat (limited to 'src')
-rw-r--r--src/config.h.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h.cmake.in b/src/config.h.cmake.in
index 0094a09..6635df1 100644
--- a/src/config.h.cmake.in
+++ b/src/config.h.cmake.in
@@ -46,6 +46,9 @@
/* Define to 1 if you have the <memory.h> header file. */
#cmakedefine HAVE_MEMORY_H
+/* define to disable multithreading support. */
+#cmakedefine NO_THREADS
+
/* define if the compiler implements namespaces */
#cmakedefine HAVE_NAMESPACES