CMAKE_C_COMPILER, CMAKE_CXX_COMPILER not passed to CMake invocation for EP_mnmlstc_core

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Samuel Rossi (Inactive)
              Reporter:
              J Rassi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: