Skip to content

Commit

Permalink
Update BuildMyOnnxruntime.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
umireon committed Jan 28, 2023
1 parent edab106 commit 9294106
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/BuildMyOnnxruntime.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ endif()
if(OS_WINDOWS)
set(CP copy)
set(PYTHON python)
set(Onnxruntime_PLATFORM_OPTIONS --cmake_generator ${CMAKE_GENERATOR})
set(Onnxruntime_PLATFORM_OPTIONS --cmake_generator Ninja
CMAKE_C_COMPILER_LAUNCHER=ccache
--cmake_extra_defines
CMAKE_CXX_COMPILER_LAUNCHER=ccache)
set(Onnxruntime_NSYNC_BYPRODUCT "")
set(Onnxruntime_NSYNC_INSTALL "")
set(Onnxruntime_PROTOBUF_PREFIX lib)
Expand Down

0 comments on commit 9294106

Please sign in to comment.