From 245a47fe811c2ba8a437cfeb578a2c46253b0d0d Mon Sep 17 00:00:00 2001 From: "Robin E. R. Davies" Date: Fri, 29 Nov 2024 08:49:11 -0500 Subject: [PATCH] Ubuntu 24.40 CMake FetchContent policy change. --- src/CMakeLists.txt | 4 +++- submodules/pipedal_p2pd | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 749a7ea1..23ab568b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -14,7 +14,9 @@ set(CXX_STANDARD 20) include(FetchContent) -cmake_policy(SET CMP0169 OLD) +if(CMAKE_VERSION VERSION_GREATER 3.30) + cmake_policy(SET CMP0169 OLD) # Allow use of old FETCHCONTENT macros. +endif() set(FETCHCONTENT_QUIET ON) set(FTXUI_QUIET ON) diff --git a/submodules/pipedal_p2pd b/submodules/pipedal_p2pd index 862a0293..a6f827cb 160000 --- a/submodules/pipedal_p2pd +++ b/submodules/pipedal_p2pd @@ -1 +1 @@ -Subproject commit 862a02937db00fa0fb582dd362089404c46ecdf8 +Subproject commit a6f827cb2f9df220f8420e3207bbaa4c364c93a5