diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-19 15:55:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-19 15:55:52 +0200 |
commit | 7153a0b4daa30cef7d6e721e7b2edc511a1adf71 (patch) | |
tree | 64fbecfaf11d4fb03064b96030229d5130611e3b /CMakeLists.txt | |
parent | 136151e9499ac8f2f7ec1a169a973d65b15820bb (diff) |
unbreak build
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Reported-by: mm0zct
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index adf692af..f875665f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,9 @@ project(opentrack) cmake_minimum_required(VERSION 2.8) -cmake_policy(SET CMP0020 NEW) + +if(NOT CMAKE_VERSION LESS "2.10.0") + cmake_policy(SET CMP0020 NEW) +endif() set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_SOURCE_DIR}/cmake/") SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) |