Skip to content

Commit

Permalink
Ubuntu 24.40 CMake FetchContent policy change.
Browse files Browse the repository at this point in the history
  • Loading branch information
rerdavies committed Nov 29, 2024
1 parent eabe9b0 commit 245a47f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion submodules/pipedal_p2pd
Submodule pipedal_p2pd updated 0 files

0 comments on commit 245a47f

Please sign in to comment.