Skip to content

Commit 92dea69

Browse files
committed
[swift-inspect] build swift-argument-parser as shared lib when fetched remotely
1 parent 7b1c4dc commit 92dea69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/swift-inspect/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ FetchContent_Declare(ArgumentParser
2222
FIND_PACKAGE_ARGS CONFIG)
2323

2424
block(SCOPE_FOR VARIABLES)
25+
set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "Build as a shared library")
2526
set(BUILD_TESTING OFF CACHE INTERNAL "Skip building ArgumentParser tests")
2627
set(BUILD_EXAMPLES OFF CACHE INTERNAL "Skip building ArgumentParser examples")
2728
FetchContent_MakeAvailable(ArgumentParser)

0 commit comments

Comments
 (0)