Skip to content

Commit c3f69f9

Browse files
author
Gin
committed
Fix wrong cmake command
1 parent cae20bf commit c3f69f9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

SerialPrograms/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ else() # macOS and Linux
316316
# we have ONNX Runtime built from source
317317
message("Use ONNX Runtime built from source at ${ONNXRUNTIME_ROOTDIR}")
318318
target_include_directories(SerialProgramsLib PRIVATE ${ONNXRUNTIME_HEADER_DIR})
319-
link_directories(SerialProgramsLib PRIVATE ${ONNXRUNTIME_ROOTDIR}/build/MacOS/Release)
320319
target_link_libraries(SerialProgramsLib PRIVATE ${ONNXRUNTIME_ROOTDIR}/build/MacOS/Release/libonnxruntime.dylib)
321320
else()
322321
message("Built-from-source ONNX Runtime folder ${ONNXRUNTIME_ROOTDIR} does not exist.")

0 commit comments

Comments
 (0)