Skip to content

fix on CMakeFiles to let the package compile in Windows 10 - ROS Noetic #53

Open
enricovillagrossi wants to merge 3 commits intoros-industrial:masterfrom
enricovillagrossi:windows-compile-error-fix
Open

fix on CMakeFiles to let the package compile in Windows 10 - ROS Noetic #53
enricovillagrossi wants to merge 3 commits intoros-industrial:masterfrom
enricovillagrossi:windows-compile-error-fix

Conversation

@enricovillagrossi
Copy link

As discussed in #17 I modified the CMakeFile to let the package compile on Windows 10 and ROS Noetic.

This is ready for review and any feedback would be appreciated!

Copy link
Member

@gavanderhoorn gavanderhoorn left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, and my apologies for the delayed review.

Could we perhaps use target_compile_definitions(..) instead?

@gavanderhoorn
Copy link
Member

Annoying we don't have Windows CI here (#3).

(this is not directed at you @enricovillagrossi, just a mental note)

@enricovillagrossi
Copy link
Author

@gavanderhoorn I moved the flag -DNOGDI in target_compile_definitions(...). Let me know if it is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants