Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/qtlua.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Collobert <ronan@collobert.com>2014-11-04 01:31:52 +0300
committerRonan Collobert <ronan@collobert.com>2014-11-04 01:31:52 +0300
commit15ea0ecf9c8305376479bf5d8ea5d7795b22c833 (patch)
treefc9620639450011a9385bc69422ecfa60d2066bc
parent0079b6b2d0bbfb2d585a735e6e39f54ed815ddf7 (diff)
disable CMP0026 warning
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d38ca6f..26574dd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,6 +11,11 @@ ELSE()
CMAKE_POLICY(VERSION 2.8)
ENDIF()
+# --- avoid warnings
+IF(POLICY CMP0026)
+ CMAKE_POLICY(SET CMP0026 OLD)
+ENDIF()
+
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
INCLUDE(QtLuaPaths)