From 5c9647078b4620b04eebf939ee481b5b681fafca Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 9 Oct 2017 21:39:13 -0700 Subject: [PATCH] build: add a dependency on the swift compiler Add a dependency on the swift compiler to ensure that a change to the compiler will rebuild the swift portions. --- cmake/modules/SwiftSupport.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/SwiftSupport.cmake b/cmake/modules/SwiftSupport.cmake index 196593999..64b7b36e9 100644 --- a/cmake/modules/SwiftSupport.cmake +++ b/cmake/modules/SwiftSupport.cmake @@ -57,6 +57,7 @@ function(add_swift_library library) ${module_directory}/${ASL_MODULE_NAME}.swiftdoc DEPENDS ${ASL_SOURCES} + ${CMAKE_SWIFT_COMPILER} COMMAND ${CMAKE_COMMAND} -E make_directory ${module_directory} COMMAND