Can build package with native cmake but failed when using OBS.

Hi
When you build without the macro check the cmake, ldflags etc, or just build without the macro. Or work with upstream to review the OBS method and implement changes…