You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building a project as ExternalProject in Tarantool is failed
because initial LDFLAGS is empty and after adding an option
a final value has a leading whitespace, but should not [1]:
CMake Error at tests/capi/CMakeLists.txt:69 (add_executable):
Target "ffi_cdef_proto_test" links to item " -g" which has leading or
trailing whitespace. This is now an error according to policy CMP0004.
Call Stack (most recent call first):
tests/capi/ffi_cdef_proto/CMakeLists.txt:16 (create_test)
The patch add a macro `AppendFlags` that allow to avoid such
issues.
Needed by tarantool/tarantool#10911
1. https://cmake.org/cmake/help/latest/policy/CMP0004.html
0 commit comments