# HG changeset patch # User Vittorio Giovara # Date 1447263652 -3600 # Node ID 5eae0a8314250eede13bdd6daa491513ca9feca0 # Parent d80378a6ab3148b7b023fd1eb644597f7c8fa880 cmake: Set OLD for policy 26 We need to get target location because of our bundled dependencies. diff -r d80378a6ab31 -r 5eae0a831425 CMakeLists.txt --- a/CMakeLists.txt Mon Feb 22 15:56:32 2016 -0500 +++ b/CMakeLists.txt Wed Nov 11 18:40:52 2015 +0100 @@ -8,6 +8,12 @@ endif() endforeach() +foreach(hwpolicy CMP0026) + if(POLICY ${hwpolicy}) + cmake_policy(SET ${hwpolicy} OLD) + endif() +endforeach() + set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules") include(${CMAKE_MODULE_PATH}/utils.cmake)