CMakeLists.txt 226 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3

find_package(pybind11 REQUIRED)
pybind11_add_module(migraphx_py migraphx_py.cpp)
Paul's avatar
Paul committed
4
5
6
7
target_link_libraries(migraphx_py migraphx migraphx_onnx migraphx_cpu)
set_target_properties(migraphx_py PROPERTIES 
    OUTPUT_NAME migraphx
)