Skip to content

Commit 2cb39e9

Browse files
authored
install pkgconfig file into correct path (#58)
1 parent 2acf769 commit 2cb39e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if (NOT MSVC)
5353
set(PACKAGE_DESC "Unified Robot Description Format")
5454
set(pkg_conf_file "urdfdom_headers.pc")
5555
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/pkgconfig/${pkg_conf_file}.in" "${CMAKE_BINARY_DIR}/${pkg_conf_file}" @ONLY)
56-
install(FILES "${CMAKE_BINARY_DIR}/${pkg_conf_file}" DESTINATION lib/pkgconfig/ COMPONENT pkgconfig)
56+
install(FILES "${CMAKE_BINARY_DIR}/${pkg_conf_file}" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig/ COMPONENT pkgconfig)
5757
endif()
5858

5959
add_library(${PROJECT_NAME} INTERFACE)

0 commit comments

Comments
 (0)