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 list(TRANSFORM ) is only available from version 3.12, #296

Merged
merged 1 commit into from
Oct 27, 2020
Merged

fix cmake list(TRANSFORM ) is only available from version 3.12, #296

merged 1 commit into from
Oct 27, 2020

Conversation

siposcsaba89
Copy link
Contributor

Hi,

Sorry for the inconvenience, I should have checked the minimum required cmake version before sending the pull request #290. Because ament cmake required version is 3.5, and list(TRANSFORM ) not available below version 3.12, I fixed the compatibility issue by using string(TOUPPER ) and foreach instead of list(TRANSFORM).

Sorry again,
BR
Csaba

convert to string instead

Signed-off-by: Csaba Sipos <siposcsaba89@gmail.com>
@dirk-thomas
Copy link
Contributor

Thank you for the fix.

@dirk-thomas dirk-thomas merged commit 617d1e0 into ament:master Oct 27, 2020
@dirk-thomas dirk-thomas added the bug Something isn't working label Oct 27, 2020
hidmic pushed a commit that referenced this pull request Apr 12, 2021
…cmake (#290) (#296) (#331)

* fix imported targets with multiple configuration (#290)

* fix imported targets with multiple configuration

Signed-off-by: Csaba Sipos <siposcsaba89@gmail.com>

* taking into account DEBUG_CONFIGURATIONS global variable

Signed-off-by: Csaba Sipos <siposcsaba89@gmail.com>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix cmake list(TRANSFORM ) is only available from version 3.12, (#296)

convert to string instead

Signed-off-by: Csaba Sipos <siposcsaba89@gmail.com>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: siposcsaba89 <siposcsaba89@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants