Skip to content

Commit ea68d83

Browse files
committed
[flang-rt][NFC] Fix indention
1 parent f7aea4d commit ea68d83

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

flang-rt/cmake/modules/AddFlangRT.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function (add_flangrt_library name)
158158
# Use --as-needed to avoid unnecessary dependencies.
159159
if (LINKER_AS_NEEDED_OPT)
160160
target_link_options(${name_shared} BEFORE PRIVATE
161-
"${LINKER_AS_NEEDED_OPT}"
161+
"${LINKER_AS_NEEDED_OPT}"
162162
)
163163
endif()
164164
endif ()
@@ -261,8 +261,8 @@ function (add_flangrt_library name)
261261
target_include_directories(${tgtname} PUBLIC "${FLANG_RT_SOURCE_DIR}/include")
262262

263263
# 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")
266266

267267
# For Flang-RT's configured config.h to be found
268268
target_include_directories(${tgtname} PRIVATE "${FLANG_RT_BINARY_DIR}")
@@ -281,12 +281,12 @@ function (add_flangrt_library name)
281281
# dependency to Compiler-RT's builtin library where these are implemented.
282282
if (MSVC AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
283283
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}>")
285285
endif ()
286286
endif ()
287287
if (MSVC AND CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang")
288288
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}>")
290290
else ()
291291
message(WARNING "Did not find libclang_rt.builtins.lib.
292292
LLVM may emit builtins that are not implemented in msvcrt/ucrt and

0 commit comments

Comments
 (0)