Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CMake Not Finding URLEndpointListner Symbols #609

Closed
wants to merge 2 commits into from

Conversation

pasin
Copy link
Contributor

@pasin pasin commented Mar 5, 2025

  • Moved #ifdef COUCHBASE_ENTERPRISE after the #include line in CBLURLEndpointListener_CAPI.cc, otherwise CMake will not somehow build that file properly.

  • Added CBLURLEndpointListener.h to CouchbaseLite.h.

  • Updated CMakeLists.txt to link with LiteCoreREST_Objects for C4Listener API.

  • Removed ${TOP}include/cbl from test’s include_directories as It doesn't seem to be necessary - I don't fully understand how CMake finds the cblite's headers.

jianminzhao and others added 2 commits March 5, 2025 11:07
URLEndpointListener w/o authentication.

Note: CBLListenerAuthenticator will covered in a separate ticket.
* Moved `#ifdef COUCHBASE_ENTERPRISE` after the #include line in CBLURLEndpointListener_CAPI.cc, otherwise CMake will not somehow build that file properly.

* Added `CBLURLEndpointListener.h` to CouchbaseLite.h.

* Updated CMakeLists.txt to link with LiteCoreREST_Objects for C4Listener API.

* Removed ${TOP}include/cbl from test’s include_directories as it’s not necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants