-
Notifications
You must be signed in to change notification settings - Fork 757
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
move jackey include dir from server to scsynth #2179
move jackey include dir from server to scsynth #2179
Conversation
Just tried, this doesn't fix #2145 for me |
bb85c62
to
3c995b1
Compare
I just see you got the error with supernova, I got it with scsynth. Now added it to the supernova CMakeLists.txt as well. Can you retry? |
3c995b1
to
72e8591
Compare
I see an error (with latest master and cmake version 3.6.20160601):
|
72e8591
to
7401832
Compare
Interesting, cmake 3.5 doesn't give me those errors. Added the PRIVATE scope specifier, please retry. |
I see the same error as before:
|
This is strange. Please build with VERBOSE=1 set in the environment. You are definitely testing my topic/fix-jackey-include branch? You wrote master earlier which confused me a bit. |
@flv0 I'm applying your patch to current SC master. Here's my error, verbose:
|
7401832
to
4bcd355
Compare
Ok, got it. Sorry I was erronously assuming I fixed it. So much for the "don't know why it worked before" part... Should work now, sorry for the confusion! |
Use CMAKE_SOURCE_DIR instead of PROJECT_SOURCE_DIR. Move from server to toplevel CMakeLists.txt since it's also required by the supernova tests. Fixes supercollider#2145
4bcd355
to
fb28666
Compare
K cool! Can confirm, this latest patch fixes the breaking build. |
I can confirm the issue with jackey.h not being found, too (cmake 3.5.2). I can also confirm the patch of @flv0 fixing the issue. |
@crucialfelix (or should I tag someone else?) I think this is ready to merge |
From the documentation it seems the reason is that include_directories()
affects only include paths for targets in the current
CMakeLists.txt. Don't know why this worked before but moving to scsynth
CMakeLists.txt as target_include_directories() works for me.
Fixes #2145