Skip to content

Commit

Permalink
[CMake] Use CMake imported target for libuuid
Browse files Browse the repository at this point in the history
  • Loading branch information
amadio committed Mar 15, 2023
1 parent 5b3fab3 commit 1edece1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/XrdCl/CMakeLists.txt
Expand Up @@ -111,8 +111,8 @@ target_link_libraries(
XrdCl
XrdXml
XrdUtils
uuid::uuid
${CMAKE_THREAD_LIBS_INIT}
${UUID_LIBRARY}
${ZLIB_LIBRARIES}
${EXTRA_LIBS}
${CMAKE_DL_LIBS}
Expand Down
4 changes: 2 additions & 2 deletions src/XrdMacaroons.cmake
Expand Up @@ -10,7 +10,7 @@ set( LIB_XRD_MACAROONS XrdMacaroons-${PLUGIN_VERSION} )
#-------------------------------------------------------------------------------

if( BUILD_MACAROONS )
include_directories(${MACAROONS_INCLUDES} ${JSON_INCLUDE_DIRS} ${UUID_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR})
include_directories(${MACAROONS_INCLUDES} ${JSON_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR})

add_library(
${LIB_XRD_MACAROONS}
Expand All @@ -25,10 +25,10 @@ if( BUILD_MACAROONS )
XrdHttpUtils
XrdUtils
XrdServer
uuid::uuid
${MACAROONS_LIB}
${JSON_LIBRARIES}
${XROOTD_HTTP_LIB}
${UUID_LIBRARIES}
${OPENSSL_CRYPTO_LIBRARY})

if( MacOSX )
Expand Down

0 comments on commit 1edece1

Please sign in to comment.