Skip to content

Commit

Permalink
Merge pull request #3 from wxmerkt/wxm-fix-pthread
Browse files Browse the repository at this point in the history
Explicitly link against pthread
  • Loading branch information
wxmerkt authored Oct 11, 2016
2 parents 4670a55 + 60ff3d0 commit 4e2e852
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion maps_server/src/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -std=c++0x -Wno-deprecated-declaratio
add_subdirectory(server)

add_executable(data-request-server DataRequestServer.cpp RobotState.cpp)
pods_use_pkg_config_packages(data-request-server maps-utils maps) # affordance
target_link_libraries(data-request-server pthread)
pods_use_pkg_config_packages(data-request-server maps-utils maps) # affordance
pods_install_executables(data-request-server)

add_executable(maps-test TestMain.cpp)
Expand All @@ -19,6 +20,7 @@ pods_use_pkg_config_packages(maps-snapshot-server maps)
pods_install_executables(maps-snapshot-server)

add_executable(maps-registrar PointCloudRegistrar.cpp)
target_link_libraries(maps-registrar pthread)
pods_use_pkg_config_packages(maps-registrar maps bot2-lcmgl-client)
pods_install_executables(maps-registrar)

Expand Down

0 comments on commit 4e2e852

Please sign in to comment.