mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 06:11:47 +08:00
d71315b15e
* Add sdformat13 port * sdformat13 fixes (#1) * Fix cmake config export * Cleanup * Add usage * Update versions * Fix according comments review --------- Co-authored-by: Kai Pastor <dg0yt@darc.de>
24 lines
774 B
Diff
24 lines
774 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 3465a8f..2b57440 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -26,6 +26,7 @@ else()
|
|
target_link_libraries(using_parser_urdf INTERFACE
|
|
GzURDFDOM::GzURDFDOM)
|
|
endif()
|
|
+install(TARGETS using_parser_urdf EXPORT ${PROJECT_LIBRARY_TARGET_NAME} COMPONENT libraries)
|
|
|
|
if (BUILD_TESTING)
|
|
# Build this test file only if Gazebo Tools is installed.
|
|
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -58,6 +58,6 @@
|
|
if (NOT DEFINED USE_INTERNAL_URDF OR NOT USE_INTERNAL_URDF)
|
|
- gz_find_package(GzURDFDOM VERSION 1.0 QUIET)
|
|
+ gz_find_package(GzURDFDOM)
|
|
if (NOT GzURDFDOM_FOUND)
|
|
if (NOT DEFINED USE_INTERNAL_URDF)
|
|
# fallback to internal urdf
|
|
set(USE_INTERNAL_URDF ON)
|