Skip to content

Commit f301045

Browse files
committed
Merge branch 'users/meinersbur/flang_runtime' into users/meinersbur/flang_runtime_shared
2 parents cf75514 + 276020f commit f301045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ set(FLANG_INCLUDE_RUNTIME_default ON)
242242
if ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES)
243243
set(FLANG_INCLUDE_RUNTIME_default OFF)
244244
endif ()
245-
option(FLANG_INCLUDE_RUNTIME "Build the runtime in-tree (deprecated; to be replaced with LLVM_ENABLE_RUNTIMES=flang-rt)" FLANG_INCLUDE_RUNTIME_default)
245+
option(FLANG_INCLUDE_RUNTIME "Build the runtime in-tree (deprecated; to be replaced with LLVM_ENABLE_RUNTIMES=flang-rt)" ${FLANG_INCLUDE_RUNTIME_default})
246246
if (FLANG_INCLUDE_RUNTIME)
247247
if ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES)
248248
message(WARNING "Building Flang-RT using LLVM_ENABLE_RUNTIMES. FLANG_INCLUDE_RUNTIME=${FLANG_INCLUDE_RUNTIME} ignored.")

0 commit comments

Comments
 (0)