-
Notifications
You must be signed in to change notification settings - Fork 202
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
Configuration fails specifying GULRAK_SOURCE_DIR on Windows #2420
Comments
How are you specifying the path? You can always use / (even on Windows as this is the cmake default). Sean |
The path is specified in a batch file, as |
Yes okay I agree with that. But I think this should also work. The FetchContent_Declare URL flag accepts a path and/or URL. So you don't need to add the file:
Would you be able to submit a pull-request with this fix? You'll need to fill out and sign the CLA if you haven't already done that. Sean |
Great. This also works on my machine. I will look into getting the CLA signed, no promises. |
@hinton-mgi please let us know if you are able to get the CLA signed and submit that bit. we can test it and close when things are all ready . :) thank you! |
Sorry. I have asked my employer to sign the corporate CLA and it's somewhat out of my hands now. Unfortunately it's just not very high priority at the moment. I will post again when it's been handled, but it may take some time. I am unsure how much my code snippet has tied your hands, legally speaking... but I would be happy to test a fix that someone else authored. |
Describe the issue
When specifying
GULRAK_SOURCE_DIR
to cmake, configuration fails. As far as I can tell, this is because Windows file paths are not valid URLs (because '\' is the separator). Modifying gulrak.cmake worked for me:I know next to nothing about cmake, perhaps this doesn't always work and/or there is a better way to convert a path to a URL.
The text was updated successfully, but these errors were encountered: