diff options
Diffstat (limited to 'contrib/protoc-bnet/CMakeLists.txt')
-rw-r--r-- | contrib/protoc-bnet/CMakeLists.txt | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/contrib/protoc-bnet/CMakeLists.txt b/contrib/protoc-bnet/CMakeLists.txt index 1e07a00d140..d5c15804fe2 100644 --- a/contrib/protoc-bnet/CMakeLists.txt +++ b/contrib/protoc-bnet/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.8) project(protoc_bnet) -set(CXX_EXTENSIONS OFF) +set(CMAKE_CXX_EXTENSIONS OFF) find_package(Protobuf REQUIRED) @@ -21,20 +21,7 @@ include_directories(${CMAKE_SOURCE_DIR} ${PROTOBUF_INCLUDE_DIRS}) add_executable(protoc-gen-bnet ${SOURCE_FILES}) target_compile_features(protoc-gen-bnet PUBLIC - cxx_std_17 - cxx_alias_templates - cxx_auto_type - cxx_constexpr - cxx_decltype - cxx_decltype_auto - cxx_final - cxx_lambdas - cxx_generic_lambdas - cxx_variadic_templates - cxx_defaulted_functions - cxx_nullptr - cxx_trailing_return_types - cxx_return_type_deduction) + cxx_std_17) target_link_libraries(protoc-gen-bnet ${PROTOBUF_PROTOC_LIBRARIES} ${PROTOBUF_LIBRARIES}) |