Skip to content

Commit

Permalink
modify paddle2onnx cmake support windows
Browse files Browse the repository at this point in the history
  • Loading branch information
heliqi committed Jun 2, 2022
1 parent 836923f commit 4c9c9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/external/paddle2onnx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ if(WIN32)
elseif(APPLE)
SET(PADDLE2ONNX_SOURCE_LIB "${PADDLE2ONNX_SOURCE_DIR}/lib/libpaddle2onnx.dylib" CACHE FILEPATH "Paddle2ONNX source library." FORCE)
SET(PADDLE2ONNX_LIB "${PADDLE2ONNX_INSTALL_DIR}/lib/libpaddle2onnx.dylib" CACHE FILEPATH "PADDLE2ONNX library." FORCE)
SET(PADDLE2ONNX_COMPILE_LIB "${PADDLE2ONNX_INSTALL_DIR}/lib/paddle2onnx.dylib" CACHE FILEPATH "paddle2onnx compile library." FORCE)
SET(PADDLE2ONNX_COMPILE_LIB "${PADDLE2ONNX_INSTALL_DIR}/lib/libpaddle2onnx.dylib" CACHE FILEPATH "paddle2onnx compile library." FORCE)
else()
SET(PADDLE2ONNX_SOURCE_LIB "${PADDLE2ONNX_SOURCE_DIR}/lib/libpaddle2onnx.so" CACHE FILEPATH "Paddle2ONNX source library." FORCE)
SET(PADDLE2ONNX_LIB "${PADDLE2ONNX_INSTALL_DIR}/lib/libpaddle2onnx.so" CACHE FILEPATH "PADDLE2ONNX library." FORCE)
SET(PADDLE2ONNX_COMPILE_LIB "${PADDLE2ONNX_INSTALL_DIR}/lib/paddle2onnx.so" CACHE FILEPATH "paddle2onnx compile library." FORCE)
SET(PADDLE2ONNX_COMPILE_LIB "${PADDLE2ONNX_INSTALL_DIR}/lib/libpaddle2onnx.so" CACHE FILEPATH "paddle2onnx compile library." FORCE)
endif(WIN32)


Expand Down

0 comments on commit 4c9c9bd

Please sign in to comment.