@@ -158,7 +158,7 @@ function (add_flangrt_library name)
158
158
# Use --as-needed to avoid unnecessary dependencies.
159
159
if (LINKER_AS_NEEDED_OPT )
160
160
target_link_options (${name_shared} BEFORE PRIVATE
161
- "${LINKER_AS_NEEDED_OPT} "
161
+ "${LINKER_AS_NEEDED_OPT} "
162
162
)
163
163
endif ()
164
164
endif ()
@@ -261,8 +261,8 @@ function (add_flangrt_library name)
261
261
target_include_directories (${tgtname} PUBLIC "${FLANG_RT_SOURCE_DIR} /include" )
262
262
263
263
# For ISO_Fortran_binding.h to be found by the runtime itself (Accessed as #include "flang/ISO_Fortran_binding.h")
264
- # User applications can use #include <ISO_Fortran_binding.h>
265
- target_include_directories (${tgtname} PUBLIC "${FLANG_SOURCE_DIR} /include" )
264
+ # User applications can use #include <ISO_Fortran_binding.h>
265
+ target_include_directories (${tgtname} PUBLIC "${FLANG_SOURCE_DIR} /include" )
266
266
267
267
# For Flang-RT's configured config.h to be found
268
268
target_include_directories (${tgtname} PRIVATE "${FLANG_RT_BINARY_DIR} " )
@@ -281,12 +281,12 @@ function (add_flangrt_library name)
281
281
# dependency to Compiler-RT's builtin library where these are implemented.
282
282
if (MSVC AND CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
283
283
if (FLANG_RT_BUILTINS_LIBRARY )
284
- target_compile_options (${tgtname} PRIVATE "$<$<COMPILE_LANGUAGE:CXX,C>:-Xclang>" "$<$<COMPILE_LANGUAGE:CXX,C>:--dependent-lib=${FLANG_RT_BUILTINS_LIBRARY} >" )
284
+ target_compile_options (${tgtname} PRIVATE "$<$<COMPILE_LANGUAGE:CXX,C>:-Xclang>" "$<$<COMPILE_LANGUAGE:CXX,C>:--dependent-lib=${FLANG_RT_BUILTINS_LIBRARY} >" )
285
285
endif ()
286
286
endif ()
287
287
if (MSVC AND CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang" )
288
288
if (FLANG_RT_BUILTINS_LIBRARY )
289
- target_compile_options (${tgtname} PRIVATE "$<$<COMPILE_LANGUAGE:Fortran>:-Xflang>" "$<$<COMPILE_LANGUAGE:Fortran>:--dependent-lib=${FLANG_RT_BUILTINS_LIBRARY} >" )
289
+ target_compile_options (${tgtname} PRIVATE "$<$<COMPILE_LANGUAGE:Fortran>:-Xflang>" "$<$<COMPILE_LANGUAGE:Fortran>:--dependent-lib=${FLANG_RT_BUILTINS_LIBRARY} >" )
290
290
else ()
291
291
message (WARNING "Did not find libclang_rt.builtins.lib.
292
292
LLVM may emit builtins that are not implemented in msvcrt/ucrt and
0 commit comments