Browse Source

fix(build): export target megengine

GitOrigin-RevId: 6daf6b2648
release-0.6
Megvii Engine Team 5 years ago
parent
commit
d53dab2fb2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/CMakeLists.txt

+ 1
- 0
src/CMakeLists.txt View File

@@ -170,6 +170,7 @@ if(NOT MGE_BUILD_XXX)
# Do not export targets if MGE_WITH_DISTRIBUTED is on. MegRay is not ready # Do not export targets if MGE_WITH_DISTRIBUTED is on. MegRay is not ready
# for this. # for this.
install(TARGETS megengine install(TARGETS megengine
EXPORT ${MGE_EXPORT_TARGETS}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif() endif()


Loading…
Cancel
Save