From d543bb540db79872e3fdf676d3aa1b858894b265 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 11 Jan 2016 16:08:30 +0000 Subject: [PATCH] Try to fix brain damage of cmake --- contrib/hiredis/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/hiredis/CMakeLists.txt b/contrib/hiredis/CMakeLists.txt index c8896868c..5134ee9a6 100644 --- a/contrib/hiredis/CMakeLists.txt +++ b/contrib/hiredis/CMakeLists.txt @@ -10,6 +10,6 @@ IF("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUA SET(HIREDIS_CFLAGS "${HIREDIS_CFLAGS} -O3") ENDIF() -ADD_LIBRARY(rspamd-hiredis STATIC "${HIREDISSRC}") +ADD_LIBRARY(rspamd-hiredis STATIC ${HIREDISSRC}) SET_TARGET_PROPERTIES(rspamd-hiredis PROPERTIES COMPILE_FLAGS "${HIREDIS_CFLAGS}") \ No newline at end of file -- 2.39.5