Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified the 3rd party compilation order #3939

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ljonathan0719
Copy link

This pull request addresses Issue #3802 where manually building Multipass fails due to OpenSSL header detection errors in libssh. The issue was caused due to an incorrect dependency order in the CMakeLists.txt file. This resulted in the system's OpenSSL installation verison being used instead of the custom built 3rd party libraries.

Copy link
Contributor

@Sploder12 Sploder12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your interest and contribution @ljonathan0719! Unfortunately, there are some issues preventing building.

Also, would you mind signing the CLA using the same GitHub handle / same email?

Comment on lines +135 to +136
add_subdirectory(3rd-party/grpc)
add_subdirectory(3rd-party/poco)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

grpc and poco are part of vcpkg so cmake won't be able to add them like this.


# gRPC config
find_package(gRPC CONFIG REQUIRED)

# Ensure custom libraries are built first
add_subdirectory(3rd-party/libssh)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cmake has issues here since libssh is also added by 3rd-party/CMakeLists.txt (invoked by add_subdirectory(3rd-party)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants