diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2088e2776..f0e5e3e68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -895,7 +895,7 @@ TRY_RUN(_CAN_RUN _CAN_COMPILE CMAKE_FLAGS CMAKE_C_FLAGS="-pthread") IF(_CAN_RUN EQUAL 1) SET(HAVE_PTHREAD_PROCESS_SHARED 1 CACHE INTERNAL "") - SET(RSPAMD_REQUIRED_LIBRARIES "${RSPAMD_REQUIRED_LIBRARIES} -lpthread") + LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lpthread") ENDIF(_CAN_RUN EQUAL 1) IF(HAVE_PTHREAD_PROCESS_SHARED) MESSAGE(STATUS "pthread_mutexattr_setpshared is supported") |