Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-80

set default WITH_SSL value to OpenSSL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1
    • Component/s: General
    • Labels:
      None

      Description

      atm if cmake is called without -DWITH_SSL=OpenSSL it fails with:

      -- Configuring done
      CMake Error at CMakeLists.txt:419 (ADD_DEPENDENCIES):
        The dependency target "caching_sha2_password" of target
        "DEPENDENCIES_FOR_PACKAGE" does not exist.
       
       
      CMake Error at CMakeLists.txt:419 (ADD_DEPENDENCIES):
        The dependency target "client_ed25519" of target "DEPENDENCIES_FOR_PACKAGE"
        does not exist.
       
       
      CMake Error at CMakeLists.txt:419 (ADD_DEPENDENCIES):
        The dependency target "sha256_password" of target
        "DEPENDENCIES_FOR_PACKAGE" does not exist.
       
       
      CMake Error:
        Error evaluating generator expression:
       
          $<TARGET_FILE:client_ed25519>
       
        No target "client_ed25519"
       
       
      CMake Error:
        Error evaluating generator expression:
       
          $<TARGET_FILE:sha256_password>
       
        No target "sha256_password"
       
       
      CMake Error:
        Error evaluating generator expression:
       
          $<TARGET_FILE:caching_sha2_password>
       
        No target "caching_sha2_password"
       
       
      -- Generating done
      CMake Generate step failed.  Build files cannot be regenerated correctly.
      

      the workaround is to specify -DWITH_SSL=OpenSSL explicitly in command line

        Attachments

          Activity

            People

            Assignee:
            Lawrin Lawrin Novitsky
            Reporter:
            abychko Alexey Bychko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 0.5h
                0.5h

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.