Skip to content

Commit 3a14f00

Browse files
committed
Install libuuid in non-arch specific folder until layout is fixed
1 parent 47f2e15 commit 3a14f00

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Sources/UUID/CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ set_target_properties(uuid PROPERTIES
2323
if(NOT BUILD_SHARED_LIBS)
2424
set_property(GLOBAL APPEND PROPERTY Foundation_EXPORTS uuid)
2525

26-
get_swift_host_arch(swift_arch)
26+
# get_swift_host_arch(swift_arch)
27+
28+
# TODO(drexin): should be installed in architecture specific folder, once
29+
# the layout is fixed for non-Darwin platforms
2730
install(TARGETS uuid
28-
ARCHIVE DESTINATION lib/swift_static/$<LOWER_CASE:${CMAKE_SYSTEM_NAME}>/${swift_arch}
29-
LIBRARY DESTINATION lib/swift_static/$<LOWER_CASE:${CMAKE_SYSTEM_NAME}>/${swift_arch}
31+
ARCHIVE DESTINATION lib/swift_static/$<LOWER_CASE:${CMAKE_SYSTEM_NAME}>
32+
LIBRARY DESTINATION lib/swift_static/$<LOWER_CASE:${CMAKE_SYSTEM_NAME}>
3033
RUNTIME DESTINATION bin)
3134
endif()

0 commit comments

Comments
 (0)