Support out-of-tree builds with cmake

This changes the location of msgpack.pc to support out-of-tree builds.
This commit is contained in:
Thiago de Arruda
2014-08-31 10:32:25 -03:00
parent a388000d47
commit 30b946ee85

View File

@@ -168,7 +168,7 @@ ENDIF ()
INSTALL (TARGETS msgpack msgpack-static DESTINATION lib)
INSTALL (DIRECTORY include DESTINATION ${CMAKE_INSTALL_PREFIX})
INSTALL (FILES msgpack.pc DESTINATION lib/pkgconfig)
INSTALL (FILES ${CMAKE_BINARY_DIR}/msgpack.pc DESTINATION lib/pkgconfig)
# Doxygen
FIND_PACKAGE (Doxygen)