-
Notifications
You must be signed in to change notification settings - Fork 58
Add option for use system libappimage #188
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'd have to make sure libappimage is installed in some way.
lib/CMakeLists.txt
Outdated
add_subdirectory(libappimage EXCLUDE_FROM_ALL) | ||
endif() | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blank line removed at end of file for no apparent reason.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am reworking the dependencies management at the moment. I will either merge your PR in the process, or write my own fix. libappimage is not the only external library, same goes for zsync2 for instance.
Thanks for bringing this up.
lib/CMakeLists.txt
Outdated
add_subdirectory(libappimage EXCLUDE_FROM_ALL) | ||
set(APPIMAGE_LIB libappimage_shared PARENT_SCOPE) | ||
else() | ||
find_library(APPIMAGE_LIB appimage) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to find libappimage using find_package
, since it generates an exported targets config.
I agree about similar options for other external libraries, but I need only system libappimage at this moment. |
Fixed in 7593d5a. Just set |
No description provided.