Fix adding dependencies of install-mingw-w64 target

This commit is contained in:
Martchus 2017-04-04 01:01:03 +02:00
parent cb82630665
commit f86a8b3700
1 changed files with 2 additions and 1 deletions

View File

@ -63,8 +63,9 @@ if(NOT META_NO_INSTALL_TARGETS)
# add install target for localization
if(NOT TARGET install-mingw-w64)
add_custom_target(install-mingw-w64)
add_dependencies(install-mingw-w64 install-binary ${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX})
add_dependencies(install-mingw-w64 install-binary)
endif()
add_dependencies(install-mingw-w64 ${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX})
# add install target for desktop entries and icons
foreach(DESKTOP_FILE ${DESKTOP_FILES})