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 warning for rt and pthread. #165

Merged
merged 1 commit into from
Jan 19, 2018
Merged

Conversation

mikepurvis
Copy link
Contributor

Squelches the following CMake warning when building on Linux:

-- ==> add_subdirectory(serial)
CMake Warning at share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'rt' but neither 'rt_INCLUDE_DIRS' nor
  'rt_LIBRARIES' is defined.
Call Stack (most recent call first):
  share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  serial/CMakeLists.txt:14 (catkin_package)

CMake Warning at share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'pthread' but neither 'pthread_INCLUDE_DIRS'
  nor 'pthread_LIBRARIES' is defined.
Call Stack (most recent call first):
  share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  serial/CMakeLists.txt:14 (catkin_package)

However, this would also be fixed by merging #133, so it depends a bit on the next steps for that PR.

@wjwwood
Copy link
Owner

wjwwood commented Jan 13, 2018

Since I'm probably going to decline or only use part of #133, this might still be relevant for the current version (which will remain the version in Kinetic).

@wjwwood wjwwood added the bug label Jan 13, 2018
@wjwwood
Copy link
Owner

wjwwood commented Jan 19, 2018

@ros-pull-request-builder please test this

@wjwwood wjwwood merged commit bdba3a8 into wjwwood:master Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants