mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 09:17:51 +08:00
16 lines
690 B
Diff
16 lines
690 B
Diff
|
diff --git a/cmake/urdfdom_headers-config.cmake.in b/cmake/urdfdom_headers-config.cmake.in
|
||
|
index 4686d39..026b65e 100644
|
||
|
--- a/cmake/urdfdom_headers-config.cmake.in
|
||
|
+++ b/cmake/urdfdom_headers-config.cmake.in
|
||
|
@@ -3,8 +3,8 @@ if (@PACKAGE_NAME@_CONFIG_INCLUDED)
|
||
|
endif()
|
||
|
set(@PACKAGE_NAME@_CONFIG_INCLUDED TRUE)
|
||
|
|
||
|
-set(@PACKAGE_NAME@_INCLUDE_DIRS "${@PROJECT_NAME@_DIR}/@RELATIVE_PATH_CMAKE_DIR_TO_PREFIX@/include")
|
||
|
+set(@PACKAGE_NAME@_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../include")
|
||
|
|
||
|
-include("${@PACKAGE_NAME@_DIR}/@PACKAGE_NAME@Export.cmake")
|
||
|
+include("${CMAKE_CURRENT_LIST_DIR}/@PACKAGE_NAME@Export.cmake")
|
||
|
|
||
|
list(APPEND @PACKAGE_NAME@_TARGETS @PACKAGE_NAME@::@PACKAGE_NAME@)
|