diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 60ab65028a195493ed3bb1e2174b7f9e7bae1e4d..13331421e5de6f2a1bb5f1e820cf0a39e05da5bf 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -170,6 +170,7 @@ if(NOT MGE_BUILD_XXX) # Do not export targets if MGE_WITH_DISTRIBUTED is on. MegRay is not ready # for this. install(TARGETS megengine + EXPORT ${MGE_EXPORT_TARGETS} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) endif()