Skip to content

Commit efc3baa

Browse files
ldionnecopybara-github
authored andcommitted
[runtimes][NFC] Reindent CMake files (#111821)
This is a purely mechanical commit for fixing the indentation of the runtimes' CMakeLists files after #80007. That PR didn't update the indentation in order to make the diff easier to review and for merge conflicts to be easier to resolve (for downstream changes). This doesn't change any code, it only reindents it. NOKEYCHECK=True GitOrigin-RevId: 43ba97e7079525a9686e15a6963508dfbd493f81
1 parent 87f1910 commit efc3baa

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/CMakeLists.txt

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,17 @@ if (CMAKE_POSITION_INDEPENDENT_CODE OR NOT DEFINED CMAKE_POSITION_INDEPENDENT_CO
153153
set_target_properties(unwind_shared_objects PROPERTIES POSITION_INDEPENDENT_CODE ON) # must set manually because it's an object library
154154
endif()
155155

156-
add_library(unwind_shared SHARED)
157-
target_link_libraries(unwind_shared PUBLIC unwind_shared_objects)
158-
set_target_properties(unwind_shared
159-
PROPERTIES
160-
EXCLUDE_FROM_ALL "$<IF:$<BOOL:${LIBUNWIND_ENABLE_SHARED}>,FALSE,TRUE>"
161-
LINK_FLAGS "${LIBUNWIND_LINK_FLAGS}"
162-
LINKER_LANGUAGE C
163-
OUTPUT_NAME "${LIBUNWIND_SHARED_OUTPUT_NAME}"
164-
VERSION "${LIBUNWIND_LIBRARY_VERSION}"
165-
SOVERSION "1"
166-
)
156+
add_library(unwind_shared SHARED)
157+
target_link_libraries(unwind_shared PUBLIC unwind_shared_objects)
158+
set_target_properties(unwind_shared
159+
PROPERTIES
160+
EXCLUDE_FROM_ALL "$<IF:$<BOOL:${LIBUNWIND_ENABLE_SHARED}>,FALSE,TRUE>"
161+
LINK_FLAGS "${LIBUNWIND_LINK_FLAGS}"
162+
LINKER_LANGUAGE C
163+
OUTPUT_NAME "${LIBUNWIND_SHARED_OUTPUT_NAME}"
164+
VERSION "${LIBUNWIND_LIBRARY_VERSION}"
165+
SOVERSION "1"
166+
)
167167

168168
if (LIBUNWIND_ENABLE_SHARED)
169169
list(APPEND LIBUNWIND_BUILD_TARGETS "unwind_shared")
@@ -200,15 +200,15 @@ if(LIBUNWIND_HIDE_SYMBOLS)
200200
target_compile_definitions(unwind_static_objects PRIVATE _LIBUNWIND_HIDE_SYMBOLS)
201201
endif()
202202

203-
add_library(unwind_static STATIC)
204-
target_link_libraries(unwind_static PUBLIC unwind_static_objects)
205-
set_target_properties(unwind_static
206-
PROPERTIES
207-
EXCLUDE_FROM_ALL "$<IF:$<BOOL:${LIBUNWIND_ENABLE_STATIC}>,FALSE,TRUE>"
208-
LINK_FLAGS "${LIBUNWIND_LINK_FLAGS}"
209-
LINKER_LANGUAGE C
210-
OUTPUT_NAME "${LIBUNWIND_STATIC_OUTPUT_NAME}"
211-
)
203+
add_library(unwind_static STATIC)
204+
target_link_libraries(unwind_static PUBLIC unwind_static_objects)
205+
set_target_properties(unwind_static
206+
PROPERTIES
207+
EXCLUDE_FROM_ALL "$<IF:$<BOOL:${LIBUNWIND_ENABLE_STATIC}>,FALSE,TRUE>"
208+
LINK_FLAGS "${LIBUNWIND_LINK_FLAGS}"
209+
LINKER_LANGUAGE C
210+
OUTPUT_NAME "${LIBUNWIND_STATIC_OUTPUT_NAME}"
211+
)
212212

213213
if (LIBUNWIND_ENABLE_STATIC)
214214
list(APPEND LIBUNWIND_BUILD_TARGETS "unwind_static")

0 commit comments

Comments
 (0)