microRTPS_agent_CMakeLists.txt.template: add header files to micrortps_agent executable build

This commit is contained in:
TSC21 2019-05-21 12:13:14 +01:00 committed by Lorenz Meier
parent 95f144dfb7
commit f0447e0009
1 changed files with 1 additions and 1 deletions

View File

@ -49,6 +49,6 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG OR
endif()
endif()
file(GLOB MICRORTPS_AGENT_SOURCES *.cpp)
file(GLOB MICRORTPS_AGENT_SOURCES *.cpp *.h)
add_executable(micrortps_agent ${MICRORTPS_AGENT_SOURCES})
target_link_libraries(micrortps_agent fastrtps fastcdr)