Skip to content

Commit

Permalink
added alias to be able to use same target in find_package and fetchco…
Browse files Browse the repository at this point in the history
…ntent cases
  • Loading branch information
prateek9623 committed Mar 30, 2021
1 parent d0c1c93 commit 9a3433f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ set(SAC_LIB_SRCS


add_library(SimpleAmqpClient ${SAC_LIB_SRCS})
add_library(${PROJECT_NAME}SimpleAmqpClient ALIAS SimpleAmqpClient)
target_link_libraries(SimpleAmqpClient rabbitmq::rabbitmq-static ${SOCKET_LIBRARY} Boost::chrono Boost::system $<$<BOOL:${Boost_Dynamic_Linking_ENABLED}>:Boost::dynamic_linking>)

if (WIN32)
Expand Down

0 comments on commit 9a3433f

Please sign in to comment.