From f8b7cc5e8b54cb6ee01056669807109158957ce7 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Tue, 28 May 2019 17:08:45 -0700 Subject: [PATCH] Fix clean builds --- main/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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})