aboutsummaryrefslogtreecommitdiff
path: root/libc/src/__support/File/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/__support/File/CMakeLists.txt')
-rw-r--r--libc/src/__support/File/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/__support/File/CMakeLists.txt b/libc/src/__support/File/CMakeLists.txt
index b3e4cc4..b7c0612 100644
--- a/libc/src/__support/File/CMakeLists.txt
+++ b/libc/src/__support/File/CMakeLists.txt
@@ -1,5 +1,5 @@
if(NOT (TARGET libc.src.__support.threads.mutex)
- OR LIBC_TARGET_ARCHITECTURE_IS_GPU)
+ OR LIBC_TARGET_OS_IS_GPU)
# Not all platforms have a mutex implementation. If mutex is unvailable,
# we just skip everything about files.
return()