Skip to content

Commit

Permalink
changed:调整项目工程配置
Browse files Browse the repository at this point in the history
  • Loading branch information
GengGode committed Dec 9, 2023
1 parent c3fc339 commit 60a8685
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,5 @@ PRIVATE
if(WITH_DYNAMIC_OPENCV)
add_custom_command(TARGET cvAutoTrack POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${OpenCV_CONFIG_PATH}/../bin/opencv_world480$<$<CONFIG:Debug>:d>.dll" "$<TARGET_FILE_DIR:cvAutoTrack>")
endif()
add_custom_target(copy_version_file ALL COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR}/resource/version.ver" "$<TARGET_FILE_DIR:cvAutoTrack>/version")
add_custom_target(copy_version_file ALL COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR}/resource/version.ver" "$<TARGET_FILE_DIR:cvAutoTrack>/version")
set_target_properties(copy_version_file PROPERTIES FOLDER "scripts")

0 comments on commit 60a8685

Please sign in to comment.