Browse Source

!18 Packages are now strictly found in local directory

Merge pull request !18 from yanghaoran/master
tags/v0.2.0-alpha
mindspore-ci-bot Gitee 4 years ago
parent
commit
a42055c4a5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmake/ge_utils.cmake

+ 1
- 1
cmake/ge_utils.cmake View File

@@ -243,7 +243,7 @@ function(graphengine_add_pkg pkg_name )
return()
endif()
elseif(NOT PKG_HEAD_ONLY)
find_package(${__FIND_PKG_NAME} ${PKG_VER} NO_CMAKE_SYSTEM_PATH NO_SYSTEM_ENVIRONMENT_PATH)
find_package(${__FIND_PKG_NAME} ${PKG_VER} ${GE_FIND_NO_DEFAULT_PATH})
if (${__FIND_PKG_NAME}_FOUND)
set(${pkg_name}_INC ${${pkg_name}_BASE_DIR}/include PARENT_SCOPE)
message("Found pkg: ${__FIND_PKG_NAME}")


Loading…
Cancel
Save