MegEngineConfig.cmake.in 343 字节
Newer Older
1 2
@PACKAGE_INIT@

3
find_package(Threads)
4 5 6 7 8 9 10 11 12 13 14
find_package(Flatbuffers REQUIRED)

if (@MGE_WITH_MKLDNN@)
    find_package(dnnl REQUIRED)
endif()

list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
if (NOT TARGET megengine)
    include ("${CMAKE_CURRENT_LIST_DIR}/@MGE_EXPORT_TARGETS@.cmake")
    check_required_components("megengine")
endif ()