Try to fix windows build
This commit is contained in:
parent
22795c1a14
commit
0254a0a15a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
|
||||||
|
|
||||||
# So qml apps using this plugin can be run from build/bin directory
|
# So qml apps using this plugin can be run from build/bin directory
|
||||||
add_custom_target(copy_to_build_dir_bin)
|
add_custom_target(copy_to_build_dir_bin)
|
||||||
add_custom_command(TARGET copy_to_build_dir_bin
|
add_custom_command(TARGET copy_to_build_dir_bin POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E
|
COMMAND ${CMAKE_COMMAND} -E
|
||||||
copy ${CMAKE_CURRENT_SOURCE_DIR}/qmldir ${CMAKE_BINARY_DIR}/bin/org/kde/kdeconnect/)
|
copy ${CMAKE_CURRENT_SOURCE_DIR}/qmldir ${CMAKE_BINARY_DIR}/bin/org/kde/kdeconnect/)
|
||||||
add_dependencies(kdeconnectdeclarativeplugin copy_to_build_dir_bin)
|
add_dependencies(kdeconnectdeclarativeplugin copy_to_build_dir_bin)
|
||||||
|
|
Loading…
Reference in a new issue