update file cmakelists
This commit is contained in:
17
CMakeLists.txt
Normal file
17
CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(common_msgs)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
if (NOT TARGET std_msgs)
|
||||
add_subdirectory(std_msgs)
|
||||
endif()
|
||||
if (NOT TARGET sensor_msgs)
|
||||
add_subdirectory(sensor_msgs)
|
||||
endif()
|
||||
if (NOT TARGET geometry_msgs)
|
||||
add_subdirectory(geometry_msgs)
|
||||
endif()
|
||||
if (NOT TARGET nav_msgs)
|
||||
add_subdirectory(nav_msgs)
|
||||
endif()
|
||||
Reference in New Issue
Block a user