From 16027b99f0d80449322c45a64b1ae7de963810d2 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Thu, 2 Nov 2023 01:20:02 -0700 Subject: [PATCH] Add test for EXTRA_ARGS to gz_find_package This should fail without the fix in #393. Signed-off-by: Steve Peters --- examples/core_child/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/core_child/CMakeLists.txt b/examples/core_child/CMakeLists.txt index 7ef23995..06fbcfd8 100644 --- a/examples/core_child/CMakeLists.txt +++ b/examples/core_child/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR) project(gz-core_child VERSION 0.1.0) find_package(gz-cmake3 REQUIRED) gz_configure_project() -gz_find_package(gz-core_no_deps REQUIRED) +gz_find_package(gz-core_no_deps REQUIRED EXTRA_ARGS NAMES gz-core_no_deps) gz_configure_build(QUIT_IF_BUILD_ERRORS) gz_create_packages() gz_create_docs(TAGFILES "${GZ-CORE_NO_DEPS_DOXYGEN_TAGFILE} = ${GZ-CORE_NO_DEPS_API_URL}")