# #expat - XML parser # #BUILD_tools "build the xmlwf tool for expat library" #BUILD_examples "build the examples for expat library" #BUILD_tests "build the tests for expat library" #BUILD_shared "build a shared expat library" ExternalProject_Add ( expat PREFIX ${CMAKE_INSTALL_PREFIX} URL https://github.com/libexpat/libexpat/archive/refs/tags/R_2_1_0.zip URL_MD5 40e1ead45139ca1c135c704347a60264 SOURCE_SUBDIR expat CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} -DBUILD_tools:BOOL=ON -DBUILD_examples:BOOL=ON -DBUILD_tests:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=OFF DEPENDS stdint )