Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1448

cmake macro ADD_EXAMPLE does not update include directory for example

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.1
    • library
    • None
    • 1
    • SDK34: CB++, OBO, Connect Prep

    Description

      In result, examples from the source repository cannot be built on MacOS because of non-standard location of libevent:

      $ brew --prefix libevent
      /usr/local/opt/libevent
      

      /Users/avsej/code/libcouchbase/example/libeventdirect/main.c:29:10: fatal error: 'event2/event.h' file not found
      #include <event2/event.h>
               ^~~~~~~~~~~~~~~~
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build couchbase-server-7.1.0-1450 contains libcouchbase commit 4723aaf with commit message:
          CCBC-1448: fix cmake macro for examples

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1450 contains libcouchbase commit 4723aaf with commit message: CCBC-1448 : fix cmake macro for examples

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty