mirror of
https://github.com/gflags/gflags.git
synced 2025-04-05 05:25:04 +00:00
Use gflags as target name instead of PACKAGE_NAME to not make things unnecessarily generic.
This commit is contained in:
parent
6ec7d7f81e
commit
ffbc1cea57
1 changed files with 2 additions and 2 deletions
|
@ -159,8 +159,8 @@ else ()
|
|||
set (CONFIG_INSTALL_DIR lib/cmake/${PACKAGE_NAME})
|
||||
endif ()
|
||||
|
||||
install (TARGETS ${PACKAGE_NAME} DESTINATION ${LIBRARY_INSTALL_DIR} EXPORT gflags-lib)
|
||||
install (FILES ${PUBLIC_HDRS} DESTINATION ${INCLUDE_INSTALL_DIR}/${GFLAGS_NAMESPACE})
|
||||
install (TARGETS gflags DESTINATION ${LIBRARY_INSTALL_DIR} EXPORT gflags-lib)
|
||||
install (FILES ${PUBLIC_HDRS} DESTINATION ${INCLUDE_INSTALL_DIR}/${GFLAGS_NAMESPACE})
|
||||
|
||||
file (RELATIVE_PATH INSTALL_PREFIX_REL2CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${CONFIG_INSTALL_DIR}" "${CMAKE_INSTALL_PREFIX}")
|
||||
configure_file (cmake/config.cmake.in "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-config-install.cmake" @ONLY)
|
||||
|
|
Loading…
Add table
Reference in a new issue