Browse Source

Fix clean builds

master
Alex Mikhalev 6 years ago
parent
commit
f8b7cc5e8b
  1. 5
      main/CMakeLists.txt

5
main/CMakeLists.txt

@ -1,6 +1,7 @@
include(${CMAKE_CURRENT_LIST_DIR}/../components/protobuf/functions.cmake) include(${CMAKE_CURRENT_LIST_DIR}/../components/protobuf/functions.cmake)
set(PB_OUT ${CMAKE_CURRENT_SOURCE_DIR}/pb_out) set(PB_OUT ${CMAKE_CURRENT_LIST_DIR}/pb_out)
make_directory(${PB_OUT})
set(COMPONENT_SRCS set(COMPONENT_SRCS
"ugv_main.cc" "ugv_main.cc"
@ -38,7 +39,5 @@ list(APPEND COMPONENT_SRCS ${PROTO_SRCS} ${PROTO_HDRS})
register_component() register_component()
make_directory(${PB_OUT})
component_compile_options("-Werror=incompatible-pointer-types" "-std=c++14") component_compile_options("-Werror=incompatible-pointer-types" "-std=c++14")
component_compile_options(-I${PB_OUT}) component_compile_options(-I${PB_OUT})

Loading…
Cancel
Save