Skip to content

Commit

Permalink
* Accounting for spaces in include dirs (Program Files e.g.)
Browse files Browse the repository at this point in the history
* providing library absolute path for pkgconfig

Signed-off-by: Guybrush <miguel.barro@live.com>
  • Loading branch information
MiguelBarro authored and alanxz committed Mar 16, 2024
1 parent a531f72 commit 7e0630a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion libSimpleAmqpClient.pc.in
Expand Up @@ -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@"

0 comments on commit 7e0630a

Please sign in to comment.