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

CMakeLists improvements #162

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

CMakeLists improvements #162

wants to merge 3 commits into from

Conversation

wmamrak
Copy link
Contributor

@wmamrak wmamrak commented Apr 18, 2017

No description provided.

When generating solution by multiple configure, then generate combo instead of single configure, generate combo or generate alone, _USE_MATH_DEFINES preprocessor definition is not populated.
Alternative solution is to add unset(HAVE_M_PI CACHE) in the else block just after add_definitions(-D_USE_MATH_DEFINES), but the proposed way avoids unnecessary checks each time the project is configured.
@@ -32,6 +32,13 @@ option(freetype-gl_BUILD_HARFBUZZ "Build the freetype-gl harfbuzz support (exper
option(freetype-gl_BUILD_MAKEFONT "Build the makefont tool" ON)
option(freetype-gl_BUILD_TESTS "Build the tests" ON)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be OFF by default

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it could be. And installing ImageMagick should satisfy Jarvis.

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