Jump off the fence on policy CMP0075.

The new behaviour is benign for us, so go with it if available.
This commit is contained in:
Jim Hague 2019-10-17 17:22:51 +01:00
parent 11e621b758
commit 878fd0583f
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
if (POLICY CMP0075)
cmake_policy(SET CMP0075 NEW)
endif ()
set(CMAKE_VERBOSE_MAKEFILE_ON)
# The following must be set BEFORE doing project() or enable_language().