CMakeLists.txt
changeset 11371 78156dc2cab3
parent 11289 f8529d679a0d
child 11388 d3b603323b2b
--- a/CMakeLists.txt	Tue Nov 10 13:53:40 2015 +0100
+++ 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)