[libunwind] [CMake] Handle the RelWithDebInfo configuration similarly to Release
authorMartin Storsjö <martin@martin.st>
Wed, 4 May 2022 09:52:20 +0000 (12:52 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 4 May 2022 19:55:01 +0000 (22:55 +0300)
commitf1f8899a18822ede04d8f90cbdae29d66333d7dc
tree9198abcfa6e971e7f9f25707c6053f6afdae5734
parent68c7299f16aa6a6990f35a0d10d084b971a6f389
[libunwind] [CMake] Handle the RelWithDebInfo configuration similarly to Release

This makes sure to include libunwind log messages in the build if
LIBUNWIND_ENABLE_ASSERTIONS is set (which it is by default), when
building in RelWithDebInfo configurations.

Differential Revision: https://reviews.llvm.org/D124912
libunwind/CMakeLists.txt