ctest_2_3: disable warn as error

the development build is enabled for tests but also enables warn as
error which creates an error when building the tests on clang-19.
This commit is contained in:
Reno Dakota
2024-11-20 02:14:51 +00:00
committed by Emily
parent 4e9d1421f3
commit f7fa39509b
+1
View File
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DCATCH_DEVELOPMENT_BUILD=ON"
"-DCATCH_BUILD_TESTING=${if doCheck then "ON" else "OFF"}"
"-DCATCH_ENABLE_WERROR=OFF"
] ++ lib.optionals (stdenv.hostPlatform.isDarwin && doCheck) [
# test has a faulty path normalization technique that won't work in
# our darwin build environment https://github.com/catchorg/Catch2/issues/1691