File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 11CMAKE_MINIMUM_REQUIRED (VERSION 2.6.4)
22PROJECT (msgpack)
33
4- SET (VERSION 0.5.7)
5- SET (VERSION_MAJOR 5)
6- SET (VERSION_MINOR 7)
4+ SET (VERSION 0.5.8)
5+ SET (VERSION_MAJOR 0)
6+ SET (VERSION_MINOR 5)
7+
8+ SET (prefix ${CMAKE_INSTALL_PREFIX} )
9+ SET (exec_prefix "\$ {prefix}" )
10+ SET (libdir "\$ {exec_prefix}/lib" )
11+ SET (includedir "\$ {prefix}/include" )
712
813FIND_PACKAGE (GTest)
914FIND_PACKAGE (ZLIB)
@@ -128,6 +133,12 @@ CONFIGURE_FILE (
128133 ${CMAKE_CURRENT_BINARY_DIR} /src/msgpack/version .h
129134)
130135
136+ CONFIGURE_FILE (
137+ msgpack.pc.in
138+ msgpack.pc
139+ @ONLY
140+ )
141+
131142INCLUDE_DIRECTORIES (
132143 ./
133144 src/
@@ -160,6 +171,7 @@ INSTALL (FILES ${msgpack_root_HEADERS} DESTINATION include)
160171INSTALL (FILES ${msgpack_msgpack_HEADERS} DESTINATION include /msgpack)
161172INSTALL (FILES ${msgpack_type_HEADERS} DESTINATION include /msgpack/type )
162173INSTALL (FILES ${msgpack_tr1_HEADERS} DESTINATION include /msgpack/type /tr1)
174+ INSTALL (FILES msgpack.pc DESTINATION lib/pkgconfig)
163175
164176# Doxygen
165177FIND_PACKAGE (Doxygen)
You can’t perform that action at this time.
0 commit comments