File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 11include (FetchContent)
22
3+ set (CMAKE_FIND_DEBUG_MODE TRUE )
4+ message (STATUS "DEBUGNONSENSE find_package(SwiftSyntax)" )
35find_package (SwiftSyntax CONFIG)
6+ message (STATUS "DEBUGNONSENSE find_package(SwiftSyntax) complete: FOUND is ${SwiftSyntax_FOUND} " )
7+ set (CMAKE_FIND_DEBUG_MODE FALSE )
8+
49if (NOT SwiftSyntax_FOUND)
10+ message (STATUS "DEBUGNONSENSE In NOT SwiftSyntax_FOUND" )
511 set (SWIFT_SYNTAX_INSTALL_TARGETS YES )
612 if (DEFINED SWIFTPM_PATH_TO_SWIFT_SYNTAX_SOURCE)
713 file (TO_CMAKE_PATH "${SWIFTPM_PATH_TO_SWIFT_SYNTAX_SOURCE} " swift_syntax_path)
@@ -14,3 +20,10 @@ if(NOT SwiftSyntax_FOUND)
1420 endif ()
1521 FetchContent_MakeAvailable(SwiftSyntax)
1622endif ()
23+
24+ if (NOT TARGET SwiftSyntax)
25+ message (STATUS "DEBUGNONSENSE missing SwiftSyntax" )
26+ endif ()
27+ if (NOT TARGET SwiftSyntax::SwiftSyntax)
28+ message (STATUS "DEBUGNONSENSE missing SwiftSyntax::SwiftSyntax" )
29+ endif ()
You can’t perform that action at this time.
0 commit comments