You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

tinyxml2.cmake 568 B

123456789101112131415
  1. set(tinyxml2_CXXFLAGS "-fstack-protector -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result")
  2. set(tinyxml2_CFLAGS "-fstack-protector -D_FORTIFY_SOURCE=2 -O2")
  3. if (NOT WIN32)
  4. set(tinyxml2_LDFLAGS "-Wl,-z,relro,-z,now,-z,noexecstack")
  5. endif()
  6. mindspore_add_pkg(tinyxml2
  7. VER 8.0.0
  8. LIBS tinyxml2
  9. URL https://github.com/leethomason/tinyxml2/archive/8.0.0.tar.gz
  10. CMAKE_OPTION -DCMAKE_BUILD_TYPE=Release
  11. MD5 5dc535c8b34ee621fe2128f072d275b5)
  12. include_directories(${tinyxml2_INC})
  13. add_library(mindspore::tinyxml2 ALIAS tinyxml2::tinyxml2)