ebruck / radiotray-ng

An Internet radio player for Linux
GNU General Public License v3.0
255 stars 23 forks source link

Files built without respecting CFLAGS #140

Closed blshkv closed 4 years ago

blshkv commented 4 years ago

Could you please fix CMakeLists.txt or wherever appropriate to address this:

Thanks

ebruck commented 4 years ago

@blshkv radiotray-ng is written in C++ and CXXFLAGS should be picked up by cmake when generating the build files.

blshkv commented 4 years ago

The problem is that the current cmake does not respect global flags. You should fix using something like this:

-CXXFLAGS=" -Wall -Wextra"
+CXXFLAGS="${CXXFLAGS} -Wall -Wextra"
blshkv commented 4 years ago

Thanks 👌