mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 18:40:28 +01:00
fix installation source path of FindZeroMQ.cmake
when cppzmq is not the root folder of cmake (i.e., it is embedded in a super project), CMAKE_SOURCE_DIR will not be the correct path to copy FindZeroMQ.cmake.
This commit is contained in:
parent
e2f91c06f6
commit
4367591ad6
@ -59,5 +59,5 @@ install(EXPORT ${PROJECT_NAME}-targets
|
|||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
|
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
|
||||||
DESTINATION ${CPPZMQ_CMAKECONFIG_INSTALL_DIR})
|
DESTINATION ${CPPZMQ_CMAKECONFIG_INSTALL_DIR})
|
||||||
install(FILES ${CMAKE_SOURCE_DIR}/libzmq-pkg-config/FindZeroMQ.cmake
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/libzmq-pkg-config/FindZeroMQ.cmake
|
||||||
DESTINATION ${CPPZMQ_CMAKECONFIG_INSTALL_DIR}/libzmq-pkg-config)
|
DESTINATION ${CPPZMQ_CMAKECONFIG_INSTALL_DIR}/libzmq-pkg-config)
|
||||||
|
Loading…
Reference in New Issue
Block a user