From: Anton Yuzhaninov Date: Tue, 30 Oct 2018 03:33:36 +0000 (-0400) Subject: Don't set PREFIX variable in cmake X-Git-Tag: 1.8.2~99^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a796cd7321dd994a660d524ee72d6d117e8f7454;p=rspamd.git Don't set PREFIX variable in cmake As I can see this variable is not used by rspamd build system. Remove it because setting it causes a lot of warning with -DENABLE_CLANG_PLUGIN=ON - PREFIX variable is not documented but used by cmake internally. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 0aa91aa57..925408f8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -506,10 +506,6 @@ INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/" "${CMAKE_BINARY_DIR}/src" #Stored in the binary dir "${CMAKE_BINARY_DIR}/src/libcryptobox") -IF(CMAKE_INSTALL_PREFIX) - SET(PREFIX ${CMAKE_INSTALL_PREFIX}) -ENDIF(CMAKE_INSTALL_PREFIX) - LIST(APPEND CMAKE_REQUIRED_LIBRARIES m) SET(POE_LOOP "Loop::IO_Poll")