Skip to content

Commit 57bb9e2

Browse files
uilianriesvitalybuka
authored andcommitted
Use public cxx_standard
Signed-off-by: Uilian Ries <[email protected]>
1 parent eb634ef commit 57bb9e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ target_link_libraries(protobuf-mutator
2424
set_target_properties(protobuf-mutator PROPERTIES
2525
COMPILE_FLAGS "${NO_FUZZING_FLAGS}"
2626
SOVERSION 0)
27-
target_compile_features(protobuf-mutator PRIVATE cxx_std_14)
27+
target_compile_features(protobuf-mutator PUBLIC cxx_std_14)
2828

2929
if (LIB_PROTO_MUTATOR_TESTING)
3030
protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS

src/libfuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ target_link_libraries(protobuf-mutator-libfuzzer
2121
set_target_properties(protobuf-mutator-libfuzzer PROPERTIES
2222
COMPILE_FLAGS "${NO_FUZZING_FLAGS}"
2323
SOVERSION 0)
24-
target_compile_features(protobuf-mutator-libfuzzer PRIVATE cxx_std_14)
24+
target_compile_features(protobuf-mutator-libfuzzer PUBLIC cxx_std_14)
2525

2626
install(TARGETS protobuf-mutator-libfuzzer
2727
EXPORT libprotobuf-mutatorTargets

0 commit comments

Comments
 (0)