-
Notifications
You must be signed in to change notification settings - Fork 50
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
CMakeLists.txt - Change ExternalProject_Add to findpackage #130
Comments
So |
The downside is that with git submodules it is difficult for us to version control those dependencies unless we use git in cli later to checkout a specific version. I think for repos in which we have control over to help with windows builds we can do forks and still use |
My idea would be something like this: Make a subdirectory Then in the main project you create
Then in the main project's list(PREPEND CMAKE_MODULE_PATH "cmake")
find_package(LIEF REQUIRED) This would then get you The downside of course is that you end up having to do a lot of work to properly wrap the dependencies. Basically you are recreating vcpkg on a small scale. |
Alright, I think I'm seeing what you are saying much clearer now, when you do a |
Is your feature request related to a problem? Please describe.
As mentioned in #127, we should move to using
findpackage
instead asExternalProject_Add
introduces issues withWindows
builds.Describe the solution you'd like
The solution would be to add git submodules for
LIEF
,tlsh
, andcapstone
and usefindpackage
instead.Describe alternatives you've considered
N/A
Additional context
This was suggested by @mrexodia 😄
The text was updated successfully, but these errors were encountered: