cmake/xml2: build xml2 before s3
This commit is contained in:
parent
f9ca8fe962
commit
c67853888f
|
@ -1,12 +1,16 @@
|
||||||
|
|
||||||
# xml2
|
# xml2
|
||||||
ExternalProject_Add(xml2
|
ExternalProject_Add(xml2
|
||||||
GIT_REPOSITORY https://github.com/GNOME/libxml2
|
URL https://github.com/GNOME/libxml2/archive/refs/tags/v2.11.5.tar.gz
|
||||||
GIT_TAG v2.11.5
|
#GIT_REPOSITORY https://github.com/GNOME/libxml2
|
||||||
|
#GIT_TAG v2.11.5
|
||||||
|
DOWNLOAD_NO_PROGRESS 1
|
||||||
|
DOWNLOAD_DIR "${TD_CONTRIB_DIR}/deps-download"
|
||||||
SOURCE_DIR "${TD_CONTRIB_DIR}/xml2"
|
SOURCE_DIR "${TD_CONTRIB_DIR}/xml2"
|
||||||
BINARY_DIR ""
|
#BINARY_DIR ""
|
||||||
CONFIGURE_COMMAND ""
|
BUILD_IN_SOURCE TRUE
|
||||||
BUILD_COMMAND ""
|
CONFIGURE_COMMAND ./autogen.sh && ./configure --prefix=$ENV{HOME}/.cos-local.2 --enable-shared=no --enable-static=yes --without-python
|
||||||
INSTALL_COMMAND ""
|
BUILD_COMMAND make -j
|
||||||
|
INSTALL_COMMAND make install && ln -s $ENV{HOME}/.cos-local.2/include/libxml2/libxml $ENV{HOME}/.cos-local.2/include/libxml
|
||||||
TEST_COMMAND ""
|
TEST_COMMAND ""
|
||||||
)
|
)
|
||||||
|
|
|
@ -261,9 +261,9 @@ target_include_directories(
|
||||||
unset(CMAKE_PROJECT_INCLUDE_BEFORE)
|
unset(CMAKE_PROJECT_INCLUDE_BEFORE)
|
||||||
|
|
||||||
# xml2
|
# xml2
|
||||||
if(${BUILD_WITH_S3})
|
#if(${BUILD_WITH_S3})
|
||||||
add_subdirectory(xml2 EXCLUDE_FROM_ALL)
|
# add_subdirectory(xml2 EXCLUDE_FROM_ALL)
|
||||||
endif()
|
#endif()
|
||||||
|
|
||||||
# lz4
|
# lz4
|
||||||
add_subdirectory(lz4/build/cmake EXCLUDE_FROM_ALL)
|
add_subdirectory(lz4/build/cmake EXCLUDE_FROM_ALL)
|
||||||
|
|
Loading…
Reference in New Issue