Skip to content

Commit

Permalink
Add test for EXTRA_ARGS to gz_find_package
Browse files Browse the repository at this point in the history
This should fail without the fix in #393.

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters committed Nov 2, 2023
1 parent 200de1b commit 16027b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/core_child/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

0 comments on commit 16027b9

Please sign in to comment.