diff --git a/src/onnx/CMakeLists.txt b/src/onnx/CMakeLists.txt index 710c962cb4a..352a5e223ae 100755 --- a/src/onnx/CMakeLists.txt +++ b/src/onnx/CMakeLists.txt @@ -48,5 +48,6 @@ endif() target_link_libraries(migraphx_onnx PUBLIC migraphx) rocm_install_targets( + PRIVATE TARGETS migraphx_onnx )