Skip to content

Commit 5d04a83

Browse files
committed
Fix build with f128_sources
1 parent ffed5fa commit 5d04a83

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

flang-rt/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ else ()
262262
add_custom_target(check-flang-rt)
263263
endif()
264264

265+
265266
###################
266267
# Install headers #
267268
###################

flang-rt/lib/runtime/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,11 @@ set_property(SOURCE
193193
# Import changes from flang_rt.quadmath
194194
set(f128_sources "")
195195
if (TARGET FortranFloat128MathILib)
196-
get_target_property(f128_sources
196+
get_target_property(_propval
197197
FortranFloat128MathILib INTERFACE_SOURCES
198198
)
199-
if (f128_sources)
199+
if (_propval)
200+
set(f128_sources "${_propval}")
200201
# The interface may define special macros for Float128Math files,
201202
# so we need to propagate them.
202203
get_target_property(f128_defs

0 commit comments

Comments
 (0)