Skip to content

Commit f6924ee

Browse files
authored
Merge pull request #79746 from etcwilde/ewilde/fix-finddispatch-module
Fix missing `PROPERTIES` keyword in Finddispatch
2 parents f2bbdc9 + 0c5455e commit f6924ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Runtimes/Core/cmake/modules/Finddispatch.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ elseif(LINUX)
9191
HINTS "${Swift_SDKROOT}/usr/lib/swift/linux")
9292
add_library(dispatch SHARED IMPORTED GLOBAL)
9393
endif()
94-
set_target_properties(dispatch
94+
set_target_properties(dispatch PROPERTIES
9595
IMPORTED_LOCATION "${dispatch_LIBRARY}"
9696
INTERFACE_INCLUDE_DIRECTORIES "${dispatch_INCLUDE_DIR}")
9797
find_package_handle_standard_args(dispatch DEFAULT_MSG
@@ -111,7 +111,7 @@ elseif(WIN32)
111111
"$ENV{SDKROOT}/usr/lib/swift")
112112

113113
add_library(dispatch SHARED IMPORTED GLOBAL)
114-
set_target_properties(dispatch
114+
set_target_properties(dispatch PROPERTIES
115115
IMPORTED_IMPLIB "${dispatch_LIBRARY}"
116116
INTERFACE_INCLUDE_DIRECTORIES "${dispatch_INCLUDE_DIR}")
117117
find_package_handle_standard_args(dispatch DEFAULT_MSG

0 commit comments

Comments
 (0)