nixpkgs/pkgs/development/libraries/libmsgpack/0.5-CMake.patch

15 lines
608 B
Diff
Raw Normal View History

2014-10-05 12:23:17 +00:00
diff -r 791a4edd7e1d CMakeLists.txt
--- a/CMakeLists.txt Sun Oct 05 13:14:14 2014 +0100
+++ b/CMakeLists.txt Sun Oct 05 13:20:12 2014 +0100
2014-10-30 20:36:23 +00:00
@@ -157,8 +157,9 @@
2014-10-05 12:23:17 +00:00
INSTALL (TARGETS msgpack msgpack-static DESTINATION lib)
INSTALL (DIRECTORY src/msgpack DESTINATION include)
2014-10-30 20:36:23 +00:00
+INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/src/msgpack/version.h DESTINATION include/msgpack)
2014-10-05 12:23:17 +00:00
INSTALL (FILES src/msgpack.h src/msgpack.hpp DESTINATION include)
-INSTALL (FILES msgpack.pc DESTINATION lib/pkgconfig)
+INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/msgpack.pc DESTINATION lib/pkgconfig)
# Doxygen
FIND_PACKAGE (Doxygen)