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

Merge sdf14 ➡️ main #1470

Merged
merged 5 commits into from
Aug 24, 2024
Merged

Merge sdf14 ➡️ main #1470

merged 5 commits into from
Aug 24, 2024

Conversation

scpeters
Copy link
Member

➡️ Forward port

Port sdf14 ➡️ main

Branch comparison: main...sdf14

Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

iche033 and others added 5 commits August 5, 2024 15:16
This PR uses the changes introduced in gz-cmake3 in gazebosim/gz-cmake#334 to support the cmake installation directory to be moved after the make install prefix, and continue to work without the need to set any special environment variable, as long as the library is compiled as shared. To avoid regressions and problems in Ubuntu Focal due to the use of std::filesystem, this new behaviour is only activated if the GZ_ENABLE_RELOCATABLE_INSTALL option is enabled, and its default value is OFF .

In particular, this PR defines a sdf::getSharePath() function that should be used in place of the SDF_SHARE_PATH macro to ensure that the library is relocatable.

Signed-off-by: Silvio Traversaro <[email protected]>
Co-authored-by: Steve Peters <[email protected]>
Co-authored-by: Ian Chen <[email protected]>
The windows builds were broken with -DBUILD_TESTING=OFF,
so move the target_link_libraries call outside the
`if (BUILD_TESTING)` logical block.

Signed-off-by: Steve Peters <[email protected]>
@scpeters scpeters requested a review from azeey as a code owner August 23, 2024 21:06
@github-actions github-actions bot added the 🏛️ ionic Gazebo Ionic label Aug 23, 2024
@scpeters scpeters merged commit 887a218 into main Aug 24, 2024
12 checks passed
@scpeters scpeters deleted the scpeters/merge_14_main branch August 24, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏛️ ionic Gazebo Ionic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants