mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 18:49:02 +08:00
16 lines
568 B
Diff
16 lines
568 B
Diff
|
diff --git a/cmake/urdfdom-config.cmake.in b/cmake/urdfdom-config.cmake.in
|
||
|
index fb81b47..3ccad51 100644
|
||
|
--- a/cmake/urdfdom-config.cmake.in
|
||
|
+++ b/cmake/urdfdom-config.cmake.in
|
||
|
@@ -3,6 +3,10 @@ if (@PKG_NAME@_CONFIG_INCLUDED)
|
||
|
endif()
|
||
|
set(@PKG_NAME@_CONFIG_INCLUDED TRUE)
|
||
|
|
||
|
+# Vcpkg fix-ups
|
||
|
+get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||
|
+get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||
|
+
|
||
|
set(@PKG_NAME@_INCLUDE_DIRS "@CMAKE_INSTALL_PREFIX@/include" "@TinyXML_INCLUDE_DIRS@")
|
||
|
|
||
|
foreach(lib @PKG_LIBRARIES@)
|