PREDICT-EPFL / polympc

Light-weight C++ library for fast embedded nonlinear optimisation and optimal control
https://polympc.rtfd.io
Mozilla Public License 2.0
47 stars 10 forks source link

CMakeLists: Redundant compiler options #6

Closed msplr closed 3 years ago

msplr commented 5 years ago

In the CMakeLists some options are redundant. For example the optimization -O3 on this line which is overridden by the flags from CMAKE_BUILD_TYPE.

I propose to try to stick to Modern CMake practises.

petlist commented 3 years ago

Done.