EXPAT.cmake 623 B

123456789101112131415161718192021
  1. #prusaslicer_add_cmake_project(EXPAT
  2. # # GIT_REPOSITORY https://github.com/nigels-com/glew.git
  3. # # GIT_TAG 3a8eff7 # 2.1.0
  4. # SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/expat
  5. #)
  6. prusaslicer_add_cmake_project(EXPAT
  7. URL https://github.com/libexpat/libexpat/archive/refs/tags/R_2_4_3.zip
  8. URL_HASH SHA256=8851e199d763dc785277d6d414ed3e70ff683915158b51b8d8781df0e3af950a
  9. SOURCE_SUBDIR expat
  10. CMAKE_ARGS
  11. -DEXPAT_BUILD_TOOLS:BOOL=OFF
  12. -DEXPAT_BUILD_EXAMPLES:BOOL=OFF
  13. -DEXPAT_BUILD_TESTS:BOOL=OFF
  14. -DEXPAT_BUILD_DOCS=OFF
  15. -DEXPAT_BUILD_PKGCONFIG=OFF
  16. )
  17. if (MSVC)
  18. add_debug_dep(dep_EXPAT)
  19. endif ()