aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)