File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,28 +26,16 @@ if (NOT CMAKE_BUILD_TYPE)
2626endif ()
2727
2828if (WIN32 )
29- if ("${CMAKE_BUILD_TYPE } " STREQUAL "DEBUG" )
30- set (CMAKE_BUILD_TYPE "Debug" )
31- endif ()
32- if ("${CMAKE_BUILD_TYPE } " STREQUAL "RELEASE" )
33- set (CMAKE_BUILD_TYPE "Release" )
34- endif ()
3529 add_custom_command (TARGET Graph_Build POST_BUILD
3630 COMMAND ${CMAKE_COMMAND } -E copy_directory
37- "${OPENCV_BUILD_DIR} /bin/${ CMAKE_BUILD_TYPE } / ."
31+ "${OPENCV_BUILD_DIR} /bin/."
3832 "${CMAKE_BINARY_DIR } /bin/" )
3933endif ()
4034
4135if (WIN32 )
42- if ("${CMAKE_BUILD_TYPE } " STREQUAL "DEBUG" )
43- set (CMAKE_BUILD_TYPE "Debug" )
44- endif ()
45- if ("${CMAKE_BUILD_TYPE } " STREQUAL "RELEASE" )
46- set (CMAKE_BUILD_TYPE "Release" )
47- endif ()
4836 add_custom_command (TARGET ACC_MNIST POST_BUILD
4937 COMMAND ${CMAKE_COMMAND } -E copy_directory
50- "${OPENCV_BUILD_DIR} /bin/${ CMAKE_BUILD_TYPE } / ."
38+ "${OPENCV_BUILD_DIR} /bin/."
5139 "${CMAKE_BINARY_DIR } /bin/" )
5240endif ()
5341
You can’t perform that action at this time.
0 commit comments