Skip to content

Commit

Permalink
add tirpc
Browse files Browse the repository at this point in the history
  • Loading branch information
Abadie Lana committed Aug 4, 2023
1 parent 1e91d00 commit 3cb6bf0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ set( PKGCONFIG_LIBRARIES "-L${LIBXML_LIB_DIR} -lxml2" )
set( PKGCONFIG_INCLUDES "-I${LIBXML2_INCLUDE_DIR}" )
set( PKGCONFIG_REQUIRES fmt )

find_package( TIRPC QUIET )
if( TIRPC_FOUND )
set( PKGCONFIG_REQUIRES libtirpc )
endif()

if( ENABLE_CAPNP )
set( PKGCONFIG_REQUIRES "${PKGCONFIG_REQUIRES} capnp" )
set( PKGCONFIG_LIBRARIES "${PKGCONFIG_LIBRARIES} -luda_serialisation" )
Expand Down

0 comments on commit 3cb6bf0

Please sign in to comment.