From c523d126d67c67fccb397868a0f4a4d222544c40 Mon Sep 17 00:00:00 2001 From: Vicente Adolfo Bolea Sanchez Date: Wed, 16 Aug 2023 12:55:30 -0400 Subject: [PATCH 1/2] cmake: resolve cmake python deprecation --- testing/adios2/engine/staging-common/TestSupp.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/adios2/engine/staging-common/TestSupp.cmake b/testing/adios2/engine/staging-common/TestSupp.cmake index 24b71902b3..13ce1765a4 100644 --- a/testing/adios2/engine/staging-common/TestSupp.cmake +++ b/testing/adios2/engine/staging-common/TestSupp.cmake @@ -56,7 +56,7 @@ # resulting _CMD strings until add_common_test() which removes it. # -find_package(PythonInterp REQUIRED) +find_package(Python3 REQUIRED) # Change the STAGING_COMMON_TEST_SUPP_VERBOSE value to ON for debugging output # From 9a0c06092ede22f5ca1ef4955415bb3b03f00d89 Mon Sep 17 00:00:00 2001 From: Vicente Adolfo Bolea Sanchez Date: Wed, 16 Aug 2023 13:03:53 -0400 Subject: [PATCH 2/2] cmake: Remove enet config warning --- thirdparty/enet/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/enet/CMakeLists.txt b/thirdparty/enet/CMakeLists.txt index 5034e2e53a..ac82d3fdfd 100644 --- a/thirdparty/enet/CMakeLists.txt +++ b/thirdparty/enet/CMakeLists.txt @@ -9,7 +9,7 @@ set(ENET_LIBRARY_COMPONENT adios2_enet-libraries) set(ENET_ARCHIVE_COMPONENT adios2_enet-development) set(ENET_HEADER_COMPONENT adios2_enet-development) set(ENET_INSTALL_PKGCONFIG OFF) -set(BUILD_DOCS OFF) +set(BUILD_DOCS OFF CACHE BOOL "") add_subdirectory(enet) set(enet_DIR ${CMAKE_CURRENT_BINARY_DIR}/enet CACHE INTERNAL "")