Skip to content

Commit b64e428

Browse files
committed
Conditional check-flang-rt target
1 parent fd4c214 commit b64e428

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flang/test/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,7 @@ if (DEFINED FLANG_TEST_TARGET_TRIPLE)
126126
endif()
127127

128128
# Compatibility targets.
129-
add_custom_target(check-flang-rt)
130-
add_dependencies(check-flang-rt check-flang)
129+
if (FLANG_INCLUDE_RUNTIME)
130+
add_custom_target(check-flang-rt)
131+
add_dependencies(check-flang-rt check-flang)
132+
endif ()

0 commit comments

Comments
 (0)