diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 21d7432..636001f 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -1,6 +1,7 @@ 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 "ugv_main.cc" @@ -38,7 +39,5 @@ list(APPEND COMPONENT_SRCS ${PROTO_SRCS} ${PROTO_HDRS}) register_component() -make_directory(${PB_OUT}) - component_compile_options("-Werror=incompatible-pointer-types" "-std=c++14") component_compile_options(-I${PB_OUT})