Skip to content

Commit 04c0694

Browse files
author
Chris Bieneman
committed
Fix the Xcode build broken in PR7344
In Xcode builds the library dir variable contains the build configuration in the path, but the exports file doesn't. If we construct the export file path from the build directory instead of the library directory it should all work.
1 parent a35fb58 commit 04c0694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/SwiftSharedCMakeConfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ macro(swift_common_standalone_build_config_cmark product)
197197
include_directories("${CMARK_MAIN_INCLUDE_DIR}"
198198
"${CMARK_BUILD_INCLUDE_DIR}")
199199

200-
include(${CMARK_LIBRARY_DIR}/CMarkExports.cmake)
200+
include(${${product}_PATH_TO_CMARK_BUILD}/src/CMarkExports.cmake)
201201
endmacro()
202202

203203
# Common cmake project config for standalone builds.

0 commit comments

Comments
 (0)