CMakeLists.txt
branch0.9.22
changeset 11579 5eae0a831425
parent 11346 7dd69f024c2a
--- 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)