Dafang-Hacks / Main

141 stars 62 forks source link

v4l2rtspserver-master -- fix CMake to use CFLAGS #80

Open claud9999 opened 3 years ago

claud9999 commented 3 years ago

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