Turns out the CMakeLists.txt file contains entries that cause CMake to ignore the build environment variables like CFLAGS. I have tried removing the offending lines and now get compiler errors having to do with common functions like std::stoi, so I need to bang on it 'til it works. :)
Turns out the CMakeLists.txt file contains entries that cause CMake to ignore the build environment variables like CFLAGS. I have tried removing the offending lines and now get compiler errors having to do with common functions like
std::stoi
, so I need to bang on it 'til it works. :)https://github.com/Dafang-Hacks/Main/blob/0d2a9ae4c6e67294ccbf46982c2a23d8067245d4/v4l2rtspserver-master/CMakeLists.txt#L7