# #libxslt 1.1.29 with cmake support # #if (WIN32) ExternalProject_Add ( libxslt PREFIX ${CMAKE_INSTALL_PREFIX} URL https://github.com/xbmc/libxslt/archive/8aef2150ba9c08d2974893e692b6b8786adc7cac.zip URL_MD5 114719ca7967aef77804d834de4be905 PATCH_COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_LIST_DIR}/patch . CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} -DBUILD_SHARED_LIBS:BOOL=OFF -DWITH_TRIO:BOOL=OFF DEPENDS iconv libxml ) #endif (WIN32) #if (UNIX) #ExternalProject_Add ( # libxslt # PREFIX ${CMAKE_INSTALL_PREFIX} # BUILD_IN_SOURCE 1 #When running configure, the current directory must be the source directory # URL http://xmlsoft.org/sources/libxslt-1.1.29.tar.gz # URL_MD5 a129d3c44c022de3b9dcf6d6f288d72e # CONFIGURE_COMMAND ./configure --prefix= --disable-static --without-python # BUILD_COMMAND make # INSTALL_COMMAND make install # DEPENDS iconv libxml #) #endif (UNIX)