Fix mingw-w64 targets
This commit is contained in:
parent
f8c7a0a0a8
commit
9c8bb44843
|
@ -88,7 +88,7 @@ if(NOT META_NO_INSTALL_TARGETS AND ENABLE_INSTALL_TARGETS)
|
||||||
endif()
|
endif()
|
||||||
add_dependencies(install-binary ${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX})
|
add_dependencies(install-binary ${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX})
|
||||||
|
|
||||||
# add install target for localization
|
# add mingw-w64 specific install target
|
||||||
if(NOT TARGET install-mingw-w64)
|
if(NOT TARGET install-mingw-w64)
|
||||||
add_custom_target(install-mingw-w64)
|
add_custom_target(install-mingw-w64)
|
||||||
add_dependencies(install-mingw-w64 install-binary)
|
add_dependencies(install-mingw-w64 install-binary)
|
||||||
|
@ -126,10 +126,18 @@ if(NOT META_NO_INSTALL_TARGETS AND ENABLE_INSTALL_TARGETS)
|
||||||
endif()
|
endif()
|
||||||
add_dependencies(install-binary-strip ${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX})
|
add_dependencies(install-binary-strip ${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX})
|
||||||
|
|
||||||
# add mingw-w64 specific install target
|
# add mingw-w64 specific install targets
|
||||||
|
if(NOT TARGET install-mingw-w64)
|
||||||
|
add_custom_target(install-mingw-w64)
|
||||||
|
add_dependencies(install-mingw-w64 install-binary)
|
||||||
|
endif()
|
||||||
if(NOT TARGET install-mingw-w64-strip)
|
if(NOT TARGET install-mingw-w64-strip)
|
||||||
add_custom_target(install-mingw-w64-strip)
|
add_custom_target(install-mingw-w64-strip)
|
||||||
add_dependencies(install-mingw-w64-strip install-binary-strip ${LOCALIZATION_TARGET})
|
add_dependencies(install-mingw-w64-strip install-binary-strip)
|
||||||
|
endif()
|
||||||
|
if(LOCALIZATION_TARGET)
|
||||||
|
add_dependencies(install-mingw-w64 ${LOCALIZATION_TARGET})
|
||||||
|
add_dependencies(install-mingw-w64-strip ${LOCALIZATION_TARGET})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -473,12 +473,12 @@ if(NOT META_NO_INSTALL_TARGETS AND ENABLE_INSTALL_TARGETS)
|
||||||
# add mingw-w64 specific install targets
|
# add mingw-w64 specific install targets
|
||||||
if(NOT TARGET install-mingw-w64)
|
if(NOT TARGET install-mingw-w64)
|
||||||
add_custom_target(install-mingw-w64)
|
add_custom_target(install-mingw-w64)
|
||||||
add_dependencies(install-mingw-w64 install-binary install-header install-cmake-stuff install-pkg-config)
|
|
||||||
endif()
|
endif()
|
||||||
|
add_dependencies(install-mingw-w64 install-binary install-header install-cmake-stuff install-pkg-config)
|
||||||
if(NOT TARGET install-mingw-w64-strip)
|
if(NOT TARGET install-mingw-w64-strip)
|
||||||
add_custom_target(install-mingw-w64-strip)
|
add_custom_target(install-mingw-w64-strip)
|
||||||
add_dependencies(install-mingw-w64-strip install-binary-strip install-header install-cmake-stuff install-pkg-config)
|
|
||||||
endif()
|
endif()
|
||||||
|
add_dependencies(install-mingw-w64-strip install-binary-strip install-header install-cmake-stuff install-pkg-config)
|
||||||
if(LOCALIZATION_TARGET)
|
if(LOCALIZATION_TARGET)
|
||||||
add_dependencies(install-mingw-w64 ${LOCALIZATION_TARGET})
|
add_dependencies(install-mingw-w64 ${LOCALIZATION_TARGET})
|
||||||
add_dependencies(install-mingw-w64-strip ${LOCALIZATION_TARGET})
|
add_dependencies(install-mingw-w64-strip ${LOCALIZATION_TARGET})
|
||||||
|
|
Loading…
Reference in New Issue