summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f95e8aeca..5440db9ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -58,7 +58,7 @@ ELSE()
ADD_COMPILE_FLAG("-Wextra")
ADD_COMPILE_FLAG("-Wno-unused-parameter")
ADD_COMPILE_FLAG("-fno-omit-frame-pointer")
- ADD_LINK_FLAG("-pthread")
+ ADD_COMPILE_FLAG("-pthread")
IF(uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG")
ADD_COMPILE_FLAG("-O0")
ADD_COMPILE_FLAG("-g3")