Skip to content

Commit 2e882c6

Browse files
committed
Fix negated conditional to ensure the macro plugin is installed when it's _not_ built as an executable
1 parent b5ad373 commit 2e882c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ include(CompilerSettings)
4747
add_subdirectory(_TestingInternals)
4848
add_subdirectory(Testing)
4949

50-
if(SwiftTesting_BuildMacrosAsExecutables)
50+
if(NOT SwiftTesting_BuildMacrosAsExecutables)
5151
install(PROGRAMS "${INSTALL_DIR}/lib/libTestingMacros.dylib"
5252
# TODO: Finalize the install path
5353
ARCHIVE DESTINATION lib/swift/host/plugins

0 commit comments

Comments
 (0)