diff options
author | Petr Hosek <phosek@google.com> | 2023-07-12 17:41:16 +0000 |
---|---|---|
committer | Petr Hosek <phosek@google.com> | 2023-07-12 17:41:16 +0000 |
commit | 926f3759ec62a8f170e76a60316cc0bdd9dd2ec9 (patch) | |
tree | 4dffc6e45522cf7e37d21a60b2bd7f6e02d96d2e /compiler-rt | |
parent | 41447f6fdfe4d67bbd130bc6035e66f3fa1ebeff (diff) | |
download | llvm-926f3759ec62a8f170e76a60316cc0bdd9dd2ec9.zip llvm-926f3759ec62a8f170e76a60316cc0bdd9dd2ec9.tar.gz llvm-926f3759ec62a8f170e76a60316cc0bdd9dd2ec9.tar.bz2 |
[CMake] Use COMPILER_RT_BUILD_CRT in the condition for test
Unlike COMPILER_RT_HAS_CRT this handles the case where CRT is available
but has been disabled by setting COMPILER_RT_BUILD_CRT.
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/test/builtins/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/builtins/CMakeLists.txt b/compiler-rt/test/builtins/CMakeLists.txt index 2d0cc24..a431db8 100644 --- a/compiler-rt/test/builtins/CMakeLists.txt +++ b/compiler-rt/test/builtins/CMakeLists.txt @@ -13,7 +13,7 @@ configure_lit_site_cfg( include(builtin-config-ix) -if (COMPILER_RT_HAS_CRT) +if (COMPILER_RT_BUILD_CRT) list(APPEND BUILTINS_TEST_DEPS crt) endif() |