Skip to content

Commit

Permalink
Use public cxx_standard
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
uilianries authored and vitalybuka committed Jun 15, 2024
1 parent eb634ef commit 57bb9e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ target_link_libraries(protobuf-mutator
set_target_properties(protobuf-mutator PROPERTIES
COMPILE_FLAGS "${NO_FUZZING_FLAGS}"
SOVERSION 0)
target_compile_features(protobuf-mutator PRIVATE cxx_std_14)
target_compile_features(protobuf-mutator PUBLIC cxx_std_14)

if (LIB_PROTO_MUTATOR_TESTING)
protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS
Expand Down
2 changes: 1 addition & 1 deletion src/libfuzzer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ target_link_libraries(protobuf-mutator-libfuzzer
set_target_properties(protobuf-mutator-libfuzzer PROPERTIES
COMPILE_FLAGS "${NO_FUZZING_FLAGS}"
SOVERSION 0)
target_compile_features(protobuf-mutator-libfuzzer PRIVATE cxx_std_14)
target_compile_features(protobuf-mutator-libfuzzer PUBLIC cxx_std_14)

install(TARGETS protobuf-mutator-libfuzzer
EXPORT libprotobuf-mutatorTargets
Expand Down

0 comments on commit 57bb9e2

Please sign in to comment.