Skip to content

Commit 174336e

Browse files
committed
Avoid unrelated change
1 parent 5ea30b6 commit 174336e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/unittests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function(add_flang_unittest_offload_properties target)
2424
# FIXME: replace 'native' in --offload-arch option with the list
2525
# of targets that Fortran Runtime was built for.
2626
# Common code must be moved from flang/runtime/CMakeLists.txt.
27-
if (FLANG_EXPERIMENTAL_OMP_OFFLOAD_BUILD)
27+
if (NOT FLANG_EXPERIMENTAL_OMP_OFFLOAD_BUILD STREQUAL "off")
2828
set_target_properties(${target}
2929
PROPERTIES LINK_OPTIONS
3030
"-fopenmp;--offload-arch=native"

0 commit comments

Comments
 (0)