-
Notifications
You must be signed in to change notification settings - Fork 20
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
get_target_property() called with non-existent target "NOTFOUND". #4
Comments
This looks like issue #1 which still exists (but the issue is marked resolved for some reason) |
@AmineKhaldi, it seems you're right. Thanks. Were you ever able to get CMakePCHCompiler working for you? |
Not yet. Hopefully Adam will get to the bottom of it. |
Is it even possible to add precompiled header to target which depends on target that will be defined later (i.e. after calling target_precompiled_header) or does this require native CMake support? I am also getting hundreds of errors such like these... Also, in order use your compiler at all, I need to add following line in my CMakeLists.txt:
|
Here is a fix for this problem in my case: #11 |
Should be fixed by 0166e2c, feel free to comment if this is not the case. |
I'm porting a rather large code base CMake and shopping around for a precompiled header solution. Yours seems like the cleanest, but I've had no luck getting it to work.
When I attempt to add a precompiled header to any of my targets, I get the following two errors repeated for several thousand lines. CMake version 3.2.3. Since the stack isn't real, I don't know how to start debugging the issue. Any assistance would be appreciated.
The text was updated successfully, but these errors were encountered: