CMake: enable WITH_ASSERT_ABORT by default
authorCampbell Barton <ideasman42@gmail.com>
Thu, 28 Jun 2018 08:48:06 +0000 (10:48 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 28 Jun 2018 08:48:06 +0000 (10:48 +0200)
commit274bde23fb57c014af727fb787c6e8a3342f6240
treed90fea128eab53f01368fac7516c9c06d678cc8e
parentd5a8c0c4144ac70d97aec77669178fc51da02c4c
CMake: enable WITH_ASSERT_ABORT by default

Assert from BLI_assert by default in debug builds
(instead of just printing a warning).

Some developers ignored this, causing errors for others.
Better debug builds cause hard error so code isn't ignored.

Disabling is still useful when bisecting or testing outdated code.
CMakeLists.txt