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] Add ENABLE_PRECOMPILED option #3636

Merged
merged 1 commit into from
Aug 21, 2019
Merged

[CMake] Add ENABLE_PRECOMPILED option #3636

merged 1 commit into from
Aug 21, 2019

Conversation

schulzch
Copy link
Contributor

Problem: Builds fails with ninja: error: build.ninja:995: multiple rules generate precompiled.hpp [-w dupbuild=err] (Ninja is extremely strict with build rules).

Solution: Add a flag ENABLE_PRECOMPILED to disable precompiled headers for MSVC. Defaults to On to avoid changes in behavior for other users.

License was singed in #3247

You might want to disable this flag when building with Ninja.
@bluca bluca merged commit 56ace6d into zeromq:master Aug 21, 2019
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.

2 participants