cmake picks up LDFLAGS from environment

Created issue

https://gitlab.kitware.com/cmake/cmake/-/issues/22674