Skip to content

Commit

Permalink
fix(cmake): find libuuid
Browse files Browse the repository at this point in the history
  • Loading branch information
mcakircali committed Jan 20, 2025
1 parent dc2cda7 commit 7ea5f64
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmake/FindUUID.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include(FindPackageHandleStandardArgs)
# uuid

find_path(UUID_INCLUDE_DIR
NAMES uuid/uuid.h
NAMES uuid.h
HINTS
${UUID_ROOT}
${UUID_DIR}
Expand All @@ -30,11 +30,10 @@ find_path(UUID_INCLUDE_DIR
ENV UUID_DIR
ENV UUID_PATH
PATH_SUFFIXES include include/uuid
NO_DEFAULT_PATH
)

find_library(UUID_LIBRARY
NAMES uuid
NAMES uuid libuuid
HINTS
${UUID_ROOT}
${UUID_DIR}
Expand Down

0 comments on commit 7ea5f64

Please sign in to comment.