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

Issue in CMakeFlies.txt #9

Open
lymnxn opened this issue Jan 25, 2022 · 2 comments
Open

Issue in CMakeFlies.txt #9

lymnxn opened this issue Jan 25, 2022 · 2 comments

Comments

@lymnxn
Copy link

lymnxn commented Jan 25, 2022

I face some problem when I complie it. My cmake version is 3.16.3.
Starting >>> px4_msgs
--- stderr: px4_msgs
CMake Error at CMakeLists.txt:25 (if):
if given arguments:

"MATCHES" "ardent" "OR" "MATCHES" "bouncy" "OR" "MATCHES" "crystal"

Unknown arguments specified


I change line 25 and line 52 to :

if((${ROS_DISTRO} MATCHES "ardent") OR (${ROS_DISTRO} MATCHES "bouncy") OR (${ROS_DISTRO} MATCHES "crystal"))

and solve it

@sumedhreddy90
Copy link

sumedhreddy90 commented Jul 23, 2022

Bravo @lymnxn if((${ROS_DISTRO} MATCHES "ardent") OR (${ROS_DISTRO} MATCHES "bouncy") OR (${ROS_DISTRO} MATCHES "crystal"))

This helped me to solve the issue. Thanks mate! @lymnxn I request you to raise a PR for this

@sumedhreddy90
Copy link

Raised a PR #12

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

No branches or pull requests

2 participants