Skip to content

Commit

Permalink
Use gz- in generated .pc file name
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed May 4, 2022
1 parent e54db0d commit 12be647
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ set(ign_config_output "${PROJECT_NAME_LOWER}-config.cmake")
set(ign_version_output "${PROJECT_NAME_LOWER}-config-version.cmake")
set(ign_config_install_dir "${CMAKE_INSTALL_DATAROOTDIR}/cmake/${PROJECT_NAME_LOWER}")
set(ign_pkgconfig_input "${CMAKE_CURRENT_SOURCE_DIR}/config/ignition-cmake.pc.in")
set(ign_pkgconfig_output "${CMAKE_BINARY_DIR}/ignition-cmake${PROJECT_VERSION_MAJOR}.pc")
set(ign_pkgconfig_output "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc")
set(ign_pkgconfig_install_dir "${IGN_LIB_INSTALL_DIR}/pkgconfig")
set(ign_utilities_target ${PROJECT_EXPORT_NAME}-utilities)
set(ign_utilities_import_target_name ${PROJECT_EXPORT_NAME}::${ign_utilities_target})
Expand Down
2 changes: 1 addition & 1 deletion cmake/ignition-component-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ endif()

set(@component_pkg_name@_LIBRARY @import_target_name@)

# This macro is used by ignition-cmake to automatically configure the pkgconfig
# This macro is used by gz-cmake to automatically configure the pkgconfig
# files for ignition projects.
ign_pkg_config_entry(@component_pkg_name@ "@component_pkg_name@")

0 comments on commit 12be647

Please sign in to comment.