File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,6 @@ include_directories(${LIBLZMA_INCLUDE_DIRS})
42
42
find_package (ZLIB )
43
43
include_directories (${ZLIB_INCLUDE_DIRS} )
44
44
45
- set (CMAKE_CXX_STANDARD 14 )
46
- set (CMAKE_CXX_STANDARD_REQUIRED ON )
47
- set (CMAKE_CXX_EXTENSIONS OFF )
48
-
49
45
include_directories (${PROJECT_SOURCE_DIR} )
50
46
51
47
if (MSVC )
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ target_link_libraries(protobuf-mutator
24
24
set_target_properties (protobuf-mutator PROPERTIES
25
25
COMPILE_FLAGS "${NO_FUZZING_FLAGS} "
26
26
SOVERSION 0 )
27
+ target_compile_features (protobuf-mutator PRIVATE cxx_std_14 )
27
28
28
29
if (LIB_PROTO_MUTATOR_TESTING )
29
30
protobuf_generate_cpp (PROTO_SRCS PROTO_HDRS
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ target_link_libraries(protobuf-mutator-libfuzzer
21
21
set_target_properties (protobuf-mutator-libfuzzer PROPERTIES
22
22
COMPILE_FLAGS "${NO_FUZZING_FLAGS} "
23
23
SOVERSION 0 )
24
+ target_compile_features (protobuf-mutator-libfuzzer PRIVATE cxx_std_14 )
24
25
25
26
install (TARGETS protobuf-mutator-libfuzzer
26
27
EXPORT libprotobuf-mutatorTargets
You can’t perform that action at this time.
0 commit comments