File tree Expand file tree Collapse file tree 5 files changed +7
-12
lines changed Expand file tree Collapse file tree 5 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ set_property(GLOBAL PROPERTY JOB_POOL_LINK local_jobs)
1313
1414# First include general CMake utilities.
1515include (SwiftUtils)
16- include (CheckSymbolExists)
1716
1817#
1918# User-configurable options that control the inclusion and default build
@@ -806,8 +805,6 @@ if(LIBXML2_FOUND)
806805 set (SWIFT_HAVE_LIBXML 1)
807806endif ()
808807
809- check_symbol_exists(el_wgets "histedit.h" HAVE_UNICODE_LIBEDIT)
810-
811808if (LLVM_ENABLE_DOXYGEN)
812809 message (STATUS "Doxygen: enabled" )
813810endif ()
Original file line number Diff line number Diff line change 1+ include (CheckSymbolExists)
2+
3+ check_symbol_exists(el_wgets "histedit.h" HAVE_UNICODE_LIBEDIT)
4+
15configure_file (Config.h.in ${CMAKE_CURRENT_BINARY_DIR} /Config.h
26 ESCAPE_QUOTES @ONLY)
37
Original file line number Diff line number Diff line change @@ -6,7 +6,5 @@ include_directories(
66
77add_swift_lib_subdirectory(sourcekitd)
88add_swift_tool_subdirectory(sourcekitd-test )
9- if (HAVE_UNICODE_LIBEDIT)
10- add_swift_tool_subdirectory(sourcekitd-repl)
11- endif ()
9+ add_swift_tool_subdirectory(sourcekitd-repl)
1210add_swift_tool_subdirectory(complete-test )
Original file line number Diff line number Diff line change @@ -12,9 +12,7 @@ add_swift_host_tool(swift
1212 SWIFT_COMPONENT compiler
1313)
1414
15- if (HAVE_UNICODE_LIBEDIT)
16- target_link_libraries (swift edit)
17- endif ()
15+ target_link_libraries (swift edit)
1816
1917add_custom_command (TARGET swift POST_BUILD
2018 COMMAND "${CMAKE_COMMAND} " "-E" "create_symlink" "swift" "swiftc"
Original file line number Diff line number Diff line change @@ -7,9 +7,7 @@ add_swift_host_tool(swift-remoteast-test
77)
88
99set_target_properties (swift-remoteast-test PROPERTIES ENABLE_EXPORTS 1)
10- if (HAVE_UNICODE_LIBEDIT)
11- target_link_libraries (swift-remoteast-test edit)
12- endif ()
10+ target_link_libraries (swift-remoteast-test edit)
1311
1412# If building as part of clang, make sure the headers are installed.
1513if (NOT SWIFT_BUILT_STANDALONE)
You can’t perform that action at this time.
0 commit comments