File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,16 @@ LIST (APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/")
3030include (GNUInstallDirs)
3131SET (prefix ${CMAKE_INSTALL_PREFIX} )
3232SET (exec_prefix ${CMAKE_INSTALL_PREFIX} )
33- SET (libdir ${CMAKE_INSTALL_LIBDIR} )
34- SET (includedir ${CMAKE_INSTALL_INCLUDEDIR} )
33+ IF (IS_ABSOLUTE ${CMAKE_INSTALL_LIBDIR} )
34+ SET (libdir ${CMAKE_INSTALL_LIBDIR} )
35+ ELSE ()
36+ SET (libdir "\$ {prefix}/${CMAKE_INSTALL_LIBDIR} " )
37+ ENDIF ()
38+ IF (IS_ABSOLUTE ${CMAKE_INSTALL_INCLUDEDIR} )
39+ SET (includedir ${CMAKE_INSTALL_INCLUDEDIR} )
40+ ELSE ()
41+ SET (includedir "\$ {prefix}/${CMAKE_INSTALL_INCLUDEDIR} " )
42+ ENDIF ()
3543
3644OPTION (MSGPACK_32BIT "32bit compile" OFF )
3745
Original file line number Diff line number Diff line change 11prefix=@prefix@
22exec_prefix=@exec_prefix@
3- libdir=${prefix}/ @libdir@
4- includedir=${prefix}/ @includedir@
3+ libdir=@libdir@
4+ includedir=@includedir@
55
66Name: MessagePack
77Description: Binary-based efficient object serialization library
You can’t perform that action at this time.
0 commit comments