From d84a745294555886a83d2cb4131d8d37de4f28d4 Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Fri, 6 Dec 2024 18:31:29 -0600 Subject: [PATCH] Add dependency on tinyxml2 Signed-off-by: Addisu Z. Taddese --- src/cmd/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cmd/CMakeLists.txt b/src/cmd/CMakeLists.txt index cc71ed9d2..ce7120bca 100644 --- a/src/cmd/CMakeLists.txt +++ b/src/cmd/CMakeLists.txt @@ -9,7 +9,10 @@ endif() # Make a small static lib of command line functions add_library(gz STATIC gz.cc ../FrameSemantics.cc) target_link_libraries(gz - ${PROJECT_LIBRARY_TARGET_NAME} + PUBLIC + ${PROJECT_LIBRARY_TARGET_NAME} + PRIVATE + TINYXML2::TINYXML2 ) # Build sdf CLI executable