Skip to content

Drop cmake anti-pattern

Sergey Kosukhin requested to merge drop-cmake-anti-pattern into master

This removes an anti-pattern from CMakeLists.txt (I'm very sorry for introducing it). The most annoying part about it is that it makes it difficult for a parent project (e.g. ICON) to support multi-configuration backends properly. Basically, the only right place to set CMAKE_BUILD_TYPE is on the command line when calling cmake (and generating for a single-configuration backend). Also, see here.

Merge request reports

Loading