Skip to content

Commit ae431a5

Browse files
committed
s
1 parent 187a467 commit ae431a5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

gui/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ CheckOptions:
7373

7474
# TODO: is there a better way to do this?
7575
if(MSVC)
76-
# TODO: get Visual Studio output directory
77-
message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
78-
add_custom_target(windeployqt ${WINDEPLOYQT} --no-translations ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
76+
add_custom_target(windeployqt ${WINDEPLOYQT} --no-translations ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_BUILD_TYPE})
7977
add_dependencies(windeployqt cppcheck-gui)
8078
endif()
8179

0 commit comments

Comments
 (0)