Skip to content
Snippets Groups Projects
Commit f25f06bc authored by Sergey Kosukhin's avatar Sergey Kosukhin Committed by Yen-Chen Chen
Browse files

Drop cmake anti-pattern (!101)

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](https://stackoverflow.com/questions/24460486/cmake-build-type-is-not-being-used-in-cmakelists-txt/24470998#24470998

).

Approved-by: default avatarYen-Chen Chen <yen-chen.chen@kit.edu>
Merged-by: default avatarYen-Chen Chen <yen-chen.chen@kit.edu>
Changelog: bugfix
parent f7de0957
No related branches found
No related tags found
1 merge request!101Drop cmake anti-pattern
Pipeline #89058 passed