-
Notifications
You must be signed in to change notification settings - Fork 181
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
GIT_SUBMODULE fix: File not found .git/HEAD error #168
base: master
Are you sure you want to change the base?
Conversation
I can't reproduce the error you are fixing. Using the latest release v0.23.250 I modified Vulkan-Loader to use Vulkan-Headers from a submodule https://github.com/NeroBurner/Vulkan-Loader/tree/hunter_with_submodule with can you provide a minimal configuration for a failing build and maybe the cmake output? |
Yes sure ... let me figured out and I will send you when it fails ... give me some time |
@NeroBurner Good questioned/finding :-) ... I already found an error in my first solution ... To reproduce the error do following:
Now try to build and you will get following error:
|
I think this will break if you add the submodule with an relative path. For example I can add the Vulkan Headers with |
This PR will fix a "File not found .git/HEAD" error, when you use
GIT_SUBMODULE
inhunter_config()