Skip to content

Commit

Permalink
CPP-616 - Use uv/version.h as version file for libuv v1.21.0+
Browse files Browse the repository at this point in the history
libuv v1.21.0+ changed where the version file is located.
  • Loading branch information
tcberner authored and Michael Fero committed Jun 26, 2018
1 parent 8f8da2d commit 0edf3d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/modules/CppDriver.cmake
Expand Up @@ -372,6 +372,8 @@ macro(CassUseLibuv)

if (EXISTS "${LIBUV_INCLUDE_DIR}/uv-version.h")
set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv-version.h")
elseif (EXISTS "${LIBUV_INCLUDE_DIR}/uv/version.h")
set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv/version.h")
else()
set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv.h")
endif()
Expand Down

0 comments on commit 0edf3d2

Please sign in to comment.