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.

glog.cmake 458 B

12345678910
  1. set(glog_CXXFLAGS "-D_FORTIFY_SOURCE=2 -O2 ${SECURE_CXX_FLAGS}")
  2. set(glog_CFLAGS "-D_FORTIFY_SOURCE=2 -O2")
  3. mindspore_add_pkg(glog
  4. VER 0.4.0
  5. LIBS glog
  6. URL https://github.com/google/glog/archive/v0.4.0.tar.gz
  7. MD5 0daea8785e6df922d7887755c3d100d0
  8. CMAKE_OPTION -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_SHARED_LIBS=ON)
  9. include_directories(${glog_INC})
  10. add_library(mindspore::glog ALIAS glog::glog)