diff --git a/CMakeLists.txt b/CMakeLists.txt index a87de1c..1ed0b10 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -229,7 +229,7 @@ install(FILES set(prefix ${CMAKE_INSTALL_PREFIX}) set(exec_prefix "\${prefix}") -set(libdir ${CMAKE_INSTALL_LIBDIR}) +set(libdir "\${prefix}/${CMAKE_INSTALL_LIBDIR}") set(includedir "\${prefix}/include") if(WIN32) get_target_property(SIMPLEAMQPCLIENT_LIB SimpleAmqpClient OUTPUT_NAME) diff --git a/libSimpleAmqpClient.pc.in b/libSimpleAmqpClient.pc.in index 51340aa..c621095 100644 --- a/libSimpleAmqpClient.pc.in +++ b/libSimpleAmqpClient.pc.in @@ -9,4 +9,4 @@ Version: @SAC_APIVERSION@ Requires.private: librabbitmq Libs: -L${libdir} -l@SIMPLEAMQPCLIENT_LIB@ Libs.private: @libs_private@ -CFlags: -I${includedir} -I@Boost_INCLUDE_DIRS@ +CFlags: -I${includedir} -I"@Boost_INCLUDE_DIRS@"