From eb297b90b3865be65acb2a3b7f9ed5f5a8ce8055 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Wed, 21 Dec 2022 15:10:00 -0700 Subject: [PATCH] Set TRIBITS_HIDE_DEPRECATED_INCLUDE_DIRECTORIES_OVERRIDE=TRUE (TriBITSPub/TriBITS#429) Let's not generate any deprecated warnings from the deprecated TriBITS include_directories() function. Let's just not define it. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c9a2c3b38..e8be9e3651 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,7 @@ INCLUDE(${CMAKE_SOURCE_DIR}/ProjectName.cmake) SET(Seacas_ENABLE_CXX11_DEFAULT ON) SET(Seacas_ENABLE_Zoltan_DEFAULT ON) +SET(TRIBITS_HIDE_DEPRECATED_INCLUDE_DIRECTORIES_OVERRIDE TRUE) # Define the TriBITS minimum required CMake version SET(TRIBITS_CMAKE_MINIMUM_REQUIRED 3.17.0)