Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1
    • General
    • 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

          I've actually pushed that yesterday. You might want to rebase your branch. Or if you did that, and my fix does not work, then please re-open the issue

          Lawrin Lawrin Novitsky added a comment - I've actually pushed that yesterday. You might want to rebase your branch. Or if you did that, and my fix does not work, then please re-open the issue

          rebased, the issue is still there:

          382 ADD_CUSTOM_TARGET(DEPENDENCIES_FOR_PACKAGE)
          383 IF("${WITH_SSL}" STREQUAL "")
          384   SET(WITH_SSL ON)
          385 ENDIF()
          

          abychko Alexey Bychko (Inactive) added a comment - rebased, the issue is still there: 382 ADD_CUSTOM_TARGET(DEPENDENCIES_FOR_PACKAGE) 383 IF("${WITH_SSL}" STREQUAL "") 384 SET(WITH_SSL ON) 385 ENDIF()

          Pushed the fix in f2c4dd7. It happens, that that had to be CONC_WITH_SSL, rather than WITH_SSL, to take effect with C/C
          The default should not be OPENSSL - C/C picks own defaults for encryption library, if WITH_SSL is ON. For non-Windows that is OpenSsl at the moment anyway.

          Lawrin Lawrin Novitsky added a comment - Pushed the fix in f2c4dd7. It happens, that that had to be CONC_WITH_SSL, rather than WITH_SSL, to take effect with C/C The default should not be OPENSSL - C/C picks own defaults for encryption library, if WITH_SSL is ON. For non-Windows that is OpenSsl at the moment anyway.

          People

            Lawrin Lawrin Novitsky
            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.