We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c06e29 + 2b45eb9 commit e9ce182Copy full SHA for e9ce182
unittests/SourceKit/SwiftLang/CMakeLists.txt
@@ -1,16 +1,9 @@
1
if(NOT SWIFT_HOST_VARIANT MATCHES "${SWIFT_DARWIN_EMBEDDED_VARIANTS}")
2
-
3
add_swift_unittest(SourceKitSwiftLangTests
4
CursorInfoTest.cpp
5
EditingTest.cpp
6
)
7
8
- target_link_libraries(SourceKitSwiftLangTests
9
- PRIVATE
10
- SourceKitSwiftLang
11
- )
12
13
- set_property(TARGET SourceKitSwiftLangTests APPEND_STRING PROPERTY COMPILE_FLAGS
14
- " '-DSWIFTLIB_DIR=\"${SWIFTLIB_DIR}\"'")
15
+ target_link_libraries(SourceKitSwiftLangTests PRIVATE SourceKitSwiftLang)
+ target_compile_definitions(SourceKitSwiftLangTests PRIVATE
+ SWIFTLIB_DIR=\"${SWIFTLIB_DIR}\")
16
endif()
0 commit comments