FTXUI CMake policies

This commit is contained in:
Robin E. R. Davies
2025-02-15 18:11:15 -05:00
parent f06e896e35
commit 7d9e9f4a54
2 changed files with 5 additions and 4 deletions
-4
View File
@@ -15,10 +15,6 @@ include(CTest)
enable_testing()
#add_subdirectory("submodules/pipedal_p2pd")
add_subdirectory("PiPedalCommon")
+5
View File
@@ -14,10 +14,15 @@ set(CXX_STANDARD 20)
include(FetchContent)
# FOR FTXUI
if(CMAKE_VERSION VERSION_GREATER 3.30)
cmake_policy(SET CMP0169 OLD) # Allow use of old FETCHCONTENT macros.
endif()
# Our FTXUI option takes precedence over the one in the ftxui CMakeLists.txt
# because FTXUI uses cmake_minimum_required(VERSION 3.12)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
set(FETCHCONTENT_QUIET ON)
set(FTXUI_QUIET ON)