diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 64be2f38fd01..c7fdc0360b11 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -671,12 +671,7 @@ endif() set(LLVM_TARGET_TRIPLE_ENV CACHE STRING "The name of environment variable to override default target. Disabled by blank.") mark_as_advanced(LLVM_TARGET_TRIPLE_ENV) -if(CMAKE_SYSTEM_NAME MATCHES "Linux") - set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default ON) -else() - set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default OFF) -endif() -set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR ${LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default} CACHE BOOL +set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR OFF CACHE BOOL "Enable per-target runtimes directory") set(LLVM_PROFDATA_FILE "" CACHE FILEPATH