Skip to content

Commit a4d2f58

Browse files
committed
Merge branch 'users/meinersbur/flang_runtime_flang_rt' into users/meinersbur/flang_runtime_move-files
2 parents 10247c3 + 8b4496a commit a4d2f58

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
@@ -26,7 +26,7 @@ function(add_flang_unittest_offload_properties target)
2626
# FIXME: replace 'native' in --offload-arch option with the list
2727
# of targets that Fortran Runtime was built for.
2828
# Common code must be moved from flang/runtime/CMakeLists.txt.
29-
if (FLANG_EXPERIMENTAL_OMP_OFFLOAD_BUILD)
29+
if (NOT FLANG_EXPERIMENTAL_OMP_OFFLOAD_BUILD STREQUAL "off")
3030
set_target_properties(${target}
3131
PROPERTIES LINK_OPTIONS
3232
"-fopenmp;--offload-arch=native"

0 commit comments

Comments
 (0)