aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-25 17:39:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-25 17:39:21 +0100
commitf600955b95d522119558b5da7d1f614bea99f3b6 (patch)
treee10f7ab8dc096abeca48f2cb4cbc7e188605901a /contrib
parentde080b724f9cba5666eafee928b227b413639be9 (diff)
downloadrspamd-f600955b95d522119558b5da7d1f614bea99f3b6.tar.gz
rspamd-f600955b95d522119558b5da7d1f614bea99f3b6.zip
[Minor] Really remove stupid warnings
Diffstat (limited to 'contrib')
-rw-r--r--contrib/lua-torch/torch7/lib/TH/CMakeLists.txt3
-rw-r--r--contrib/lua-torch/torch7/lib/luaT/CMakeLists.txt3
2 files changed, 0 insertions, 6 deletions
diff --git a/contrib/lua-torch/torch7/lib/TH/CMakeLists.txt b/contrib/lua-torch/torch7/lib/TH/CMakeLists.txt
index b4f115f39..397ae27a7 100644
--- a/contrib/lua-torch/torch7/lib/TH/CMakeLists.txt
+++ b/contrib/lua-torch/torch7/lib/TH/CMakeLists.txt
@@ -1,9 +1,6 @@
cmake_minimum_required(VERSION 2.6)
# avoid some cmake warnings
-IF(POLICY CMP0026)
- CMAKE_POLICY(SET CMP0026 OLD)
-ENDIF()
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
SET(CMAKE_LIBRARY_PATH /usr/lib/x86_64-linux-gnu/ ${CMAKE_LIBRARY_PATH})
diff --git a/contrib/lua-torch/torch7/lib/luaT/CMakeLists.txt b/contrib/lua-torch/torch7/lib/luaT/CMakeLists.txt
index ebe788cef..518c407f2 100644
--- a/contrib/lua-torch/torch7/lib/luaT/CMakeLists.txt
+++ b/contrib/lua-torch/torch7/lib/luaT/CMakeLists.txt
@@ -1,7 +1,4 @@
# avoid some cmake warnings
-IF(POLICY CMP0026)
- CMAKE_POLICY(SET CMP0026 OLD)
-ENDIF()
INCLUDE_DIRECTORIES(${LUA_INCDIR})
IF(LUALIB)