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

          avsej Sergey Avseyev created issue -
          avsej Sergey Avseyev made changes -
          Field Original Value New Value
          Sprint SDK34: CB++, OBO, Connect Prep [ 1717 ]
          avsej Sergey Avseyev made changes -
          Status New [ 10003 ] Open [ 1 ]
          avsej Sergey Avseyev made changes -
          Component/s library [ 10110 ]
          avsej Sergey Avseyev made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          avsej Sergey Avseyev made changes -
          Fix Version/s 3.2.1 [ 17502 ]
          Fix Version/s 3.2.0 [ 17008 ]

          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