Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1178

CMAKE_C_COMPILER, CMAKE_CXX_COMPILER not passed to CMake invocation for EP_mnmlstc_core

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None

      If users set CMAKE_C_COMPILER or CMAKE_CXX_COMPILER when invoking CMake, the specified compilers will be used to compile the driver, but not to compile external dependencies like EP_mnmlstc_core.

      See the attached build log. Note that the user's CMake configure check says "Check for working CXX compiler: /opt/mongodbtoolchain/v2/bin/g++", but the EP_mnmlstc_core configure check says "Check for working CXX compiler: /usr/bin/c++".

      Users can use the CC and CXX environment variables to work around this issue.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: