diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e8ada73..31716611 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -900,7 +900,7 @@ configure_file (${CMAKE_CURRENT_SOURCE_DIR}/src/libzmq.pc.cmake.in ${CMAKE_CURRE set (zmq-pkgconfig ${CMAKE_CURRENT_BINARY_DIR}/libzmq.pc) if (NOT ZMQ_BUILD_FRAMEWORK) - install (FILES ${CMAKE_CURRENT_BINARY_DIR}/libzmq.pc DESTINATION lib/pkgconfig) + install (FILES ${CMAKE_CURRENT_BINARY_DIR}/libzmq.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) endif () if (MSVC)