-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
build_system: build statically again for Mac #276
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.
Building on MacOS and iOS.
core/CMakeLists.txt
Outdated
@@ -13,21 +13,21 @@ else() | |||
endif() | |||
|
|||
# We need tinyxml2 for the camera definition parsing. | |||
if(IOS OR APPLE) | |||
if(APPLE) | |||
# We install the tinyxml2 library manually for macOS and iOS. | |||
# The install is commented out as long as we build statically. |
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.
Actually this comment is obsolete now, I guess it should be removed.
Also note that we never built tinyxml2 as a static library, I believe (and we'll need that for iOS). It requires BUILD_STATIC_LIBS
to be set, which I guess we don't want to set in the whole scope of core/CMakeLists.txt
. So we will need more than add_subdirectory
for building tinyxml2.
I am planning to work a bit more on the build system, but after I get the prototype running on iOS :-).
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.
Thanks, removed the comment.
This is just an interim fix in the meantime.
58bfa09
to
dc19840
Compare
* build_system: build statically again for Mac This is just an interim fix in the meantime.
action: add unsupported result
This is just an interim fix in the meantime.
Should fix #233.