diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-06-23 20:00:28 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-06-23 20:00:28 +0000 |
commit | a126ac5d4d01cf4c73fb6245463715aae4ab1011 (patch) | |
tree | 28bd6dcb64110bd8373dbd0f7ea9c6e598052bb0 /databases/cassandra-cpp-driver/files/patch-cmake_modules_CppDriver.cmake | |
parent | Fix incorrect IGNORE (diff) |
databases/cassandra-cpp-driver: fix build with libuv-1.21.0
* The version header file was moved to uv/version.h, make cmake look for it
Notes
Notes:
svn path=/head/; revision=473158
Diffstat (limited to '')
-rw-r--r-- | databases/cassandra-cpp-driver/files/patch-cmake_modules_CppDriver.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/cassandra-cpp-driver/files/patch-cmake_modules_CppDriver.cmake b/databases/cassandra-cpp-driver/files/patch-cmake_modules_CppDriver.cmake new file mode 100644 index 000000000000..120eb307258e --- /dev/null +++ b/databases/cassandra-cpp-driver/files/patch-cmake_modules_CppDriver.cmake @@ -0,0 +1,11 @@ +--- cmake/modules/CppDriver.cmake.orig 2018-06-23 19:55:39 UTC ++++ cmake/modules/CppDriver.cmake +@@ -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() |