From 8ca89f7c279400060b4fc4563442f6fa521380dc Mon Sep 17 00:00:00 2001 From: Jorge Perez Date: Tue, 28 May 2024 13:23:32 -0300 Subject: [PATCH] Fix CMake warnings in Noble (#2397) * Fix Cmake warnings Signed-off-by: Jorge Perez * Move new argument above URL to fix issue with older cmake Signed-off-by: Addisu Z. Taddese --------- Signed-off-by: Jorge Perez Signed-off-by: Addisu Z. Taddese Co-authored-by: Addisu Z. Taddese --- examples/standalone/gtest_setup/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/standalone/gtest_setup/CMakeLists.txt b/examples/standalone/gtest_setup/CMakeLists.txt index ee03ecce4c..5c127f7f45 100644 --- a/examples/standalone/gtest_setup/CMakeLists.txt +++ b/examples/standalone/gtest_setup/CMakeLists.txt @@ -10,6 +10,7 @@ set(GZ_SIM_VER ${gz-sim8_VERSION_MAJOR}) include(FetchContent) FetchContent_Declare( googletest + DOWNLOAD_EXTRACT_TIMESTAMP TRUE # Version 1.14. Use commit hash to prevent tag relocation URL https://github.com/google/googletest/archive/f8d7d77c06936315286eb55f8de22cd23c188571.zip ) @@ -17,7 +18,6 @@ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) FetchContent_MakeAvailable(googletest) enable_testing() -include(Dart) # Generate tests foreach(TEST_TARGET