From: Vsevolod Stakhov Date: Sat, 25 Aug 2018 16:39:21 +0000 (+0100) Subject: [Minor] Really remove stupid warnings X-Git-Tag: 1.8.0~205 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f600955b95d522119558b5da7d1f614bea99f3b6;p=rspamd.git [Minor] Really remove stupid warnings --- 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)