Skip to content

Commit

Permalink
PCBC-1017: Update core and user agent generation
Browse files Browse the repository at this point in the history
  • Loading branch information
avsej committed Nov 13, 2024
1 parent 763e1dc commit 2cb1f12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ set(CMAKE_C_STANDARD 99)

include(${PROJECT_SOURCE_DIR}/cmake/pecl_package.cmake OPTIONAL)

file(READ "${PROJECT_SOURCE_DIR}/php_couchbase.hxx" FILE_CONTENT)
string(REGEX MATCH "PHP_COUCHBASE_VERSION +\"([0-9]+\\.[0-9]+\\.[0-9]+)\"" EXT_VERSION ${FILE_CONTENT})

set(COUCHBASE_CXX_CLIENT_WRAPPER_UNIFIED_ID
"php/${CMAKE_MATCH_1}"
CACHE STRING "" FORCE)
set(COUCHBASE_CXX_CLIENT_BUILD_DOCS
OFF
CACHE BOOL "" FORCE)
Expand Down
2 changes: 1 addition & 1 deletion src/deps/couchbase-cxx-client

0 comments on commit 2cb1f12

Please sign in to comment.