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

fix CMAKE_SYSTEM_NAME for Android and QNX #372

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

getim
Copy link
Contributor

@getim getim commented Sep 6, 2024

#165 added support for Android, and correctly combined a lot of settings with the QNX platform. However, it also started passing CMAKE_SYSTEM_NAME=ANDROID_OR_QNX to CMake, which is not a supported value. Instead pass Android or QNX depending on the current platform (see docs here).

I had to re-organize a few config settings and some groups of flags passed together, but functionally the CMAKE_SYSTEM_NAME is the only value that's now passed different for the Android and QNX platform.

Copy link
Owner

@mvukov mvukov left a comment

Choose a reason for hiding this comment

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

Thanks and sorry for the late review.

@mvukov mvukov enabled auto-merge (squash) September 14, 2024 20:35
@mvukov mvukov merged commit 859fb2a into mvukov:main Sep 16, 2024
6 checks passed
trad0v pushed a commit to EddyGharib/rules_ros2 that referenced this pull request Oct 2, 2024
Co-authored-by: Milan Vukov <mvukov@gmail.com>
parth-emancro pushed a commit to emancro/rules_ros2 that referenced this pull request Oct 2, 2024
Co-authored-by: Milan Vukov <mvukov@gmail.com>
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