Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

fix cmake use of yaml-cpp and sdl / sdl-image in map_server - #560

Merged
mikeferguson merged 1 commit into
ros-planning:kinetic-develfrom
wjwwood:map_server_fixup_cmake
Apr 16, 2017
Merged

mikeferguson merged 1 commit into
ros-planning:kinetic-develfrom
wjwwood:map_server_fixup_cmake

Conversation

@wjwwood

@wjwwood wjwwood commented Mar 3, 2017

Copy link
Copy Markdown
Contributor

While hacking on a port of this for ROS 2 (for a demo) I found that the cmake, especially with respect to finding and using dependencies, was more fragile than it has to be. So I open this pr, which:

Also, I would have used target_include_directories, but I think I need CMake 3.0.2 for that and I didn't want to mess with the minimum CMake version, but I might propose something like that in the future.

@wjwwood

wjwwood commented Mar 3, 2017 •

Copy link
Copy Markdown
Contributor Author

Also, the SDL and SDL_image CMake Modules ship with CMake:

I couldn't find where they were initially introduced, but I think it was a long time ago. The build farm will tell if they were recent additions.

@wjwwood wjwwood changed the title fix cmake use of yaml-cpp and sdl / sdl-image fix cmake use of yaml-cpp and sdl / sdl-image in map_server Mar 3, 2017
@mikaelarguedas

Copy link
Copy Markdown
Contributor

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants