Skip to content

Commit 985c44f

Browse files
author
Matt Pelland
committed
require C++11 for protobuf 3.6.x support
1 parent 4a51fa6 commit 985c44f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sysadmin-api/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ protobuf_generate_python(PROTO_PYS ${PROTO_FILES})
1313

1414
# "link" python files so they get generated (they don't actually get linked)
1515
add_library(sysadmin-api STATIC ${PROTO_SRCS} ${PROTO_PYS})
16+
set_property(TARGET sysadmin-api PROPERTY CXX_STANDARD 11)
1617
target_link_libraries(sysadmin-api INTERFACE ${PROTOBUF_LIBRARIES})
1718
target_include_directories(sysadmin-api INTERFACE ${CMAKE_BINARY_DIR})
1819
link_directories(${CMAKE_CURRENT_BINARY_DIR})

0 commit comments

Comments
 (0)