Skip to content

Commit 28c8cc3

Browse files
committed
Fix OpenMP model.cmake flags
1 parent 02e06d6 commit 28c8cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/omp/model.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ macro(setup)
151151
# offload but OFFLOAD_FLAGS overrides
152152
register_definitions(OMP_TARGET_GPU)
153153
separate_arguments(OFFLOAD_FLAGS)
154-
list(OMP_FLAGS APPEND ${OFFLOAD_FLAGS})
154+
list(APPEND OMP_FLAGS ${OFFLOAD_FLAGS})
155155
else ()
156156

157157
# handle the vendor:arch value

0 commit comments

Comments
 (0)