Skip to content
Snippets Groups Projects
Commit 3500fda3 authored by Jonas Roemer's avatar Jonas Roemer
Browse files

Rename asynchmsg library

* Avoid conflicts to asyncmsg in TDAQ
parent 7de295b8
No related branches found
No related tags found
No related merge requests found
Pipeline #12287939 passed
......@@ -4,21 +4,24 @@ find_package(Boost REQUIRED COMPONENTS system)
message(NOTICE "Standalone asyncmsg build does not support name service")
add_library(asyncmsg
add_library(asyncmsg-felix
src/Error.cxx
src/Server.cxx
src/Session.cxx
src/UDPSession.cxx
src/Interface.cxx
)
target_link_libraries(asyncmsg PRIVATE Boost::system)
target_include_directories(asyncmsg PUBLIC
target_link_libraries(asyncmsg-felix PRIVATE Boost::system)
target_include_directories(asyncmsg-felix PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
)
target_include_directories(asyncmsg INTERFACE
target_include_directories(asyncmsg-felix SYSTEM INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
)
target_include_directories(asyncmsg-felix INTERFACE
$<INSTALL_INTERFACE:include>
)
target_sources(asyncmsg
target_sources(asyncmsg-felix
PUBLIC
FILE_SET public_headers
TYPE HEADERS
......@@ -32,7 +35,7 @@ target_sources(asyncmsg
asyncmsg/detail/Header.h
)
install(TARGETS asyncmsg
install(TARGETS asyncmsg-felix
EXPORT asyncmsgTargets
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment