Skip to content

Commit a95cb32

Browse files
committed
build: pass along external dependencies to CF
The dependencies should be shared, avoid the search and just pass long the variables to the sub-configure.
1 parent 0ab1db0 commit a95cb32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ ExternalProject_Add(CoreFoundation
4545
-DCF_PATH_TO_LIBDISPATCH_SOURCE=${FOUNDATION_PATH_TO_LIBDISPATCH_SOURCE}
4646
-DCF_PATH_TO_LIBDISPATCH_BUILD=${FOUNDATION_PATH_TO_LIBDISPATCH_BUILD}
4747
-DICU_INCLUDE_DIR=${ICU_INCLUDE_DIR}
48+
-DLIBXML2_LIBRARY=${LIBXML2_LIBRARY}
49+
-DLIBXML2_INCLUDE_DIR=${LIBXML2_INCLUDE_DIR}
50+
-DCURL_LIBRARY=${CURL_LIBRARY}
51+
-DCURL_INCLUDE_DIR=${CURL_INCLUDE_DIR}
4852
INSTALL_COMMAND
4953
${CMAKE_COMMAND} -E env --unset=DESTDIR ${CMAKE_COMMAND} --build . --target install)
5054
ExternalProject_Get_Property(CoreFoundation install_dir)

0 commit comments

Comments
 (0)