From 52a25ae71793d63252a16f75085ace22eda76717 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 30 Jan 2019 16:34:43 +0100 Subject: Set CMP0074 to "new" Allows -DHDF5_ROOT --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 22ed1fad..8888be0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,8 @@ set(CRYSTFEL_VERSION ${CRYSTFEL_SHORT_VERSION}) set(CRYSTFEL_API_VERSION 11) project(crystfel VERSION ${CRYSTFEL_VERSION} LANGUAGES C) +cmake_policy(SET CMP0074 NEW) + include(GNUInstallDirs) # Set CMAKE_MODULE_PATH to assist cmake in finding our own package definitions -- cgit v1.2.3