From c52d2df97c4390a5c8b87ccdcd812f20311c5c99 Mon Sep 17 00:00:00 2001 From: "Randolph R. Settgast" Date: Mon, 4 Jun 2018 23:18:08 -0700 Subject: [PATCH] adding cmake_policy(SET CMP0057 NEW) to SetupBLT.cmake as it is required by blt_add_libraries --- SetupBLT.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SetupBLT.cmake b/SetupBLT.cmake index 3b2afedcc..b822eda66 100644 --- a/SetupBLT.cmake +++ b/SetupBLT.cmake @@ -66,6 +66,12 @@ if (NOT BLT_LOADED) ################################ include(${BLT_ROOT_DIR}/cmake/BLTOptions.cmake) + ################################ + # CMP0057 New is required by blt_add_libraries + ################################ + cmake_policy(SET CMP0057 NEW) + + ################################ # Invoke CMake Fortran setup # if ENABLE_FORTRAN == ON