Skip to content

Commit 9d8d701

Browse files
committed
[flang][cmake] Separate FLANG_INCLUDE_TOOLS from FLANG_BUILD_TOOLS
1 parent b6b8fa3 commit 9d8d701

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,10 @@ add_subdirectory(include)
504504
add_subdirectory(lib)
505505
add_subdirectory(cmake/modules)
506506

507+
option(FLANG_INCLUDE_TOOLS "Generate build targets for the Flang tools." ON)
507508
option(FLANG_BUILD_TOOLS
508509
"Build the Flang tools. If OFF, just generate build targets." ON)
509-
if (FLANG_BUILD_TOOLS)
510+
if (FLANG_INCLUDE_TOOLS)
510511
add_subdirectory(tools)
511512
endif()
512513

0 commit comments

Comments
 (0)