Skip to content
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

CMake on MinGW: Add VERBATIM to add_custom_command(). #277

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dgobbi
Copy link

@dgobbi dgobbi commented Jul 12, 2017

This fixes a zlib build error on MinGW for the CMake build. If spaces occur within the paths, the build on MinGW will fail unless VERBATIM is used in the CMakeLists.txt.

The origin of this patch is here: https://gitlab.kitware.com/third-party/zlib/commit/cb98c54

If spaces occur within the paths, this custom command will fail without
the verbatim.  It wasn't caught until now because this custom command is
only used with mingw.
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.

1 participant