commit 11ad946bc711ef032a70a9ae6ddf158e6b32680c from: Sergey Bronnikov date: Wed Aug 07 10:40:10 2024 UTC test/fuzz: fix the CMake warning CMake 3.29.0 produces a warning on configuration stage: | CMake Warning (dev) in cmake/ProtobufMutator.cmake: | A logical block opening on the line | /home/sergeyb/sources/MRG/tarantool/cmake/ProtobufMutator.cmake:38 (if) | closes on the line | /home/sergeyb/sources/MRG/tarantool/cmake/ProtobufMutator.cmake:40 (endif) | with mis-matching arguments. The patch fixes the warning. NO_CHANGELOG=build NO_DOC=build NO_TEST=build commit - 389a27db425c3f9c341b6e2ede3fe3bd86b62264 commit + 11ad946bc711ef032a70a9ae6ddf158e6b32680c blob - 44672a7af00cec09e63609d4ac2b5501f9143431 blob + e515d8e51fb5093301f0c5531de6ced698bffc3d --- cmake/ProtobufMutator.cmake +++ cmake/ProtobufMutator.cmake @@ -37,7 +37,7 @@ include_directories(${PROTOBUF_INCLUDE_DIRS}) set(PROTOBUF_LIBRARIES protobuf) if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") set(PROTOBUF_LIBRARIES protobufd) -endif(CMAKE_BUILD_TYPE) +endif() foreach(lib ${PROTOBUF_LIBRARIES}) set(LIB_PROTOBUF_PATH ${PROTOBUF_INSTALL_DIR}/lib/lib${lib}.a)