NEAT-project / neat

A New, Evolutive API and Transport-Layer Architecture for the Internet
https://www.neat-project.org/
BSD 3-Clause "New" or "Revised" License
66 stars 19 forks source link

"hard coded" compiler options in cmake #371

Closed bagder closed 6 years ago

bagder commented 7 years ago

The CMakeLists.txt file sets a bunch of compiler options without checking if the used compiler supports them.

This causes warnings and errors when using other/older compilers.

The script should check that the options actually are supported by the used compiler before activating them, or at worst, only add them if asked for by a specific option.

weinrank commented 6 years ago

Fixed by #394