From 6a7ec086ad882987a1d23bace41ad01351b8f649 Mon Sep 17 00:00:00 2001 From: Alan Dayton Date: Tue, 9 Jan 2024 14:20:16 -0800 Subject: [PATCH] Remove debugging cruft --- src/tpl/CMakeLists.txt | 36 ---------------------------------- src/umpire/CMakeLists.txt | 14 ------------- src/umpire/util/CMakeLists.txt | 13 ------------ 3 files changed, 63 deletions(-) diff --git a/src/tpl/CMakeLists.txt b/src/tpl/CMakeLists.txt index f9793437e..04cc9e60b 100644 --- a/src/tpl/CMakeLists.txt +++ b/src/tpl/CMakeLists.txt @@ -133,26 +133,8 @@ if (NOT TARGET camp) endif() endif () -if (TARGET fmt) - message(WARNING "Target fmt found") -endif() - -if (TARGET fmt::fmt) - message(WARNING "Target fmt::fmt found") -endif() - -if (TARGET std::fmt) - message(WARNING "Target std::fmt found") -endif() - -message(WARNING "fmt_DIR: ${fmt_DIR}") -message(WARNING "FMT_DIR: ${FMT_DIR}") - if (NOT TARGET fmt::fmt) - message(WARNING "Part 1") - if (DEFINED fmt_DIR) - message(WARNING "Part 2") find_package(fmt 9.1...10 REQUIRED NO_DEFAULT_PATH PATHS @@ -160,28 +142,10 @@ if (NOT TARGET fmt::fmt) ${fmt_DIR}/lib64/cmake/fmt) set_target_properties(fmt::fmt PROPERTIES IMPORTED_GLOBAL TRUE) - - if (TARGET fmt) - message(WARNING "Target fmt found") - endif() - - if (TARGET fmt::fmt) - message(WARNING "Target fmt::fmt found") - endif() - - if (TARGET std::fmt) - message(WARNING "Target std::fmt found") - endif() - - message(WARNING "fmt_FOUND: ${fmt_FOUND}") - else () - message(WARNING "Part 3") if (NOT EXISTS ${PROJECT_SOURCE_DIR}/src/tpl/umpire/fmt/CMakeLists.txt) - message(WARNING "Part 4") message(FATAL_ERROR "fmt submodule not initialized. Run 'git submodule update --init --recursive' in the git repository or set fmt_DIR to use an external build of fmt.") else () - message(WARNING "Part 5") set(FMT_INSTALL ON) set(FMT_SYSTEM_HEADERS ON) add_subdirectory(umpire/fmt) diff --git a/src/umpire/CMakeLists.txt b/src/umpire/CMakeLists.txt index 2eed849cd..38eb07b47 100644 --- a/src/umpire/CMakeLists.txt +++ b/src/umpire/CMakeLists.txt @@ -5,20 +5,6 @@ # SPDX-License-Identifier: (MIT) ############################################################################## -if (TARGET fmt) - message(WARNING "2 Target fmt found") -endif() - -if (TARGET fmt::fmt) - message(WARNING "2 Target fmt::fmt found") -endif() - -if (TARGET std::fmt) - message(WARNING "2 Target std::fmt found") -endif() - -message(WARNING "2 fmt_FOUND: ${fmt_FOUND}") - add_subdirectory(util) add_subdirectory(resource) add_subdirectory(alloc) diff --git a/src/umpire/util/CMakeLists.txt b/src/umpire/util/CMakeLists.txt index a518019b8..e831eacfb 100644 --- a/src/umpire/util/CMakeLists.txt +++ b/src/umpire/util/CMakeLists.txt @@ -4,19 +4,6 @@ # # SPDX-License-Identifier: (MIT) ############################################################################## -if (TARGET fmt) - message(WARNING "3 Target fmt found") -endif() - -if (TARGET fmt::fmt) - message(WARNING "3 Target fmt::fmt found") -endif() - -if (TARGET std::fmt) - message(WARNING "3 Target std::fmt found") -endif() - -message(WARNING "3 fmt_FOUND: ${fmt_FOUND}") set(UMPIRE_ENABLE_SYCL ${UMPIRE_ENABLE_SYCL})