diff options
author | Brad King <brad.king@kitware.com> | 2022-09-01 16:19:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-09-01 16:29:22 (GMT) |
commit | 44189d82a7d20d0d74c6d4c8c5ac9314a5af4947 (patch) | |
tree | b26bb7b2a3abb3d1ed53e5be5e4c185aefd37c77 /Tests/Complex/Executable/complex.cxx | |
parent | d10cbb05906de570f45d873296867dad4f90d93a (diff) | |
download | CMake-44189d82a7d20d0d74c6d4c8c5ac9314a5af4947.zip CMake-44189d82a7d20d0d74c6d4c8c5ac9314a5af4947.tar.gz CMake-44189d82a7d20d0d74c6d4c8c5ac9314a5af4947.tar.bz2 |
Tests: Fix some tests under CFLAGS=-DNDEBUG CXXFLAGS=-DNDEBUG
Fixes: #23888
Diffstat (limited to 'Tests/Complex/Executable/complex.cxx')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index 49e97d5..67a1645 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -62,7 +62,7 @@ void cmPassed(const char* Message, const char* m2 = "") # error This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work #endif -#if defined(NDEBUG) && !defined(CMAKE_IS_FUN_IN_RELEASE_MODE) +#if defined(COMPLEX_NDEBUG) && !defined(CMAKE_IS_FUN_IN_RELEASE_MODE) # error Per-configuration directory-level definition not inherited. #endif |