Skip to content

Commit 3b396e7

Browse files
committed
s
1 parent 688b677 commit 3b396e7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

gui/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ CheckOptions:
7373

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

0 commit comments

Comments
 (0)