Commit 8b2d3495 authored by Nigel Stewart's avatar Nigel Stewart

Conditional cmake policy CMP0003 and CMP0042

parent 40fbbe82
......@@ -8,8 +8,11 @@ cmake_minimum_required (VERSION 2.8.12)
include(GNUInstallDirs)
if (COMMAND cmake_policy)
if(POLICY CMP0003)
cmake_policy (SET CMP0003 NEW)
endif()
if(POLICY CMP0042)
cmake_policy (SET CMP0042 NEW)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment