From 57bb9e25f9cdf1b92404473717f322ff8241144a Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Thu, 30 May 2024 13:49:16 +0200 Subject: [PATCH] Use public cxx_standard Signed-off-by: Uilian Ries --- src/CMakeLists.txt | 2 +- src/libfuzzer/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7b2c7f3..633d882 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 diff --git a/src/libfuzzer/CMakeLists.txt b/src/libfuzzer/CMakeLists.txt index 14daf22..44ab015 100644 --- a/src/libfuzzer/CMakeLists.txt +++ b/src/libfuzzer/CMakeLists.txt @@ -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