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
Do not install extlibs if SFML_USE_SYSTEM_DEPS is true. #1237
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this change fixes the problem for Windows, it doesn't address the same problem for MacOS X and Android. Could you expand the fix, considering it's trivial to add?
@MarioLiebisch unless I'm misunderstanding the OSX code shortly after my change, it will only install those frameworks if they were used as part of the build (meaning, if system libraries for that are either not present or were manually prevented from use with that cmake arg). Android would be a simple fix. |
Yes, you're right. Doesn't apply to Mac OS X (although I'm not a real fan of those string comparisons), but the two mobile targets. |
da7585a
to
11b8648
Compare
@MarioLiebisch does this work for you? |
CMakeLists.txt
Outdated
# install Android.mk so the NDK knows how to set up SFML | ||
install(FILES src/SFML/Android.mk DESTINATION .) | ||
# install Android.mk so the NDK knows how to set up SFML | ||
install(FILES src/SFML/Android.mk DESTINATION .) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This install command has to stay even for SFML_USE_SYSTEM_DEPS
. This Android.mk
works similar to pkg-config
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Achk, misread that. one second.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed up now.
11b8648
to
5f652e3
Compare
|
5f652e3
to
bd479c4
Compare
Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
If those libs are present at build time, they would be clobbered at install time.
Will close #1236 (at least for me)
Signed-off-by: Marty Plummer ntzrmtthihu777@gmail.com