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

Compilation of Qt moc CMake-generated files should depend on precompiled header #3

Closed
kazarmy opened this issue Nov 19, 2017 · 1 comment

Comments

@kazarmy
Copy link
Owner

kazarmy commented Nov 19, 2017

Otherwise, the following error is generated on Windows if the precompiled header changes:

moc_compilation.cpp.obj : error LNK2011: precompiled object not linked in; image may not run
@kazarmy
Copy link
Owner Author

kazarmy commented Nov 19, 2017

Fixed by 322cbb2. Only for Makefile-based and Ninja generators. Doesn't check AUTOGEN_BUILD_DIR.

@kazarmy kazarmy closed this as completed Nov 19, 2017
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

No branches or pull requests

1 participant