Browse Source

update build

Channingss 5 years ago
parent
commit
e7a8bac6a2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      deploy/cpp/CMakeLists.txt

+ 1 - 0
deploy/cpp/CMakeLists.txt

@@ -20,6 +20,7 @@ if (NOT WIN32)
 else()
     set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/paddlex_inference)
     set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/paddlex_inference)
+    set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/paddlex_inference)
 endif()
 
 if (NOT WIN32)