Skip to content

Require external packages only if they are dependencies of the generated binary #195

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

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

azubieta
Copy link
Contributor

@azubieta azubieta commented Feb 9, 2022

No description provided.

find_package(libappimage REQUIRED)
endif()

set(APPIMAGE_UPDATE_QT_UI @APPIMAGE_UPDATE_@BUILD_QT_UI@)
Copy link
Member

Choose a reason for hiding this comment

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

This line is clearly broken. Also, in such a file, you should be using unset to remove the temporary variables afterwards. Code style wise, it would make sense to make those lowercase even, or add a _ prefix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry about that error, It seems that I'm getting a bit blind.

I thought that the variables could be useful for clients who want to know if certain feature is available.

Copy link
Member

Choose a reason for hiding this comment

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

I completely agree that this PR is useful, and I appreciate the addition. Please send a new one.

@TheAssassin
Copy link
Member

I was just about reviewing this PR. I don't like it when broken things are merged. In case you need something merged urgently, feel free to ping me about it on IRC. I cannot keep up with all GitHub notifications.

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