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
    • Resolution: Fixed
    • Major
    • 3.2.1
    • None
    • 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

          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