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] Added CFLAGS from MagickCore to mod_magickpp (fixes build in some OS) #1819
Conversation
All test passed, no issues found. KIndly tell me if I did it correctly ?? Thank you :) |
You forgot about that part:
You need to check if it still required, and remove it if not. |
@ice0 Okay, I will remove it and then check build in apveyor, if its ok :) Thanks :) |
@ice0 We can't remove those lines, build is failing in the appveyor. Thanks :) |
You need to dig deeper, and try to understand how this flags works.
|
I did it like this to check if that flag exists then it should give a true value and show this message on this screen. Thanks :) |
Just to be clear
Yeah,
Please read this documentation https://cmake.org/cmake/help/latest/command/if.html to better understand how to check variable. For example if you want to check if variable is defined you can use But to extract variable value you should use |
@ice0 Thanks for this much of help!! :) Now i should be able to solve this isse. |
@ice0 I tried to understand the meaning of flags and tested it with if else statements also and i get that i was doing it wrong
Kindly guide me further in this issue. Thanks :) |
You are moving in right direction. Now try to answer to next question.
you can be safe to remove this lines too:
Especially notice this line:
I think it needs only to include generated |
@ice0 I am able to understand that And b'coz this Thanks for help :) |
@DhairyaBahl yes. Now you need to remove unused parts from CMake and push changes to this PR :) |
@ice0 I have pushed the required changes in this PR. Kindly review them, if they are good to go then I will stash the commits. :) |
@DhairyaBahl Looks good! One note - since we no longer use |
@ice0 Kindly review this PR and tell me if I have to make any changes or improvements. Thank you :) |
Looks like you forgot to remove it. |
@ice0 I removed its mention from the file. I forgot to remove the file. Sorry for inconvenience. Thanks :) |
Adding CFLAGS to Magickcore Removing Unwanted lines in cmakelist.txt Adding CFLAGS to Imagemagick and magickcore
@ice0 I fixed it. Sorry again for inconvenience. :) |
Merged. Thank you! |
@ice0
This is the PR for the issue #1599 . but main purpose of this is to build using the appveyor CI and Travis CI features so that i can debug it further.
Thanks :)