Add mingw-w64 specific targets only when using mingw-w64
This commit is contained in:
parent
eb98b98c03
commit
2e2b66e398
|
@ -136,17 +136,19 @@ if(NOT META_NO_INSTALL_TARGETS AND ENABLE_INSTALL_TARGETS)
|
||||||
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 targets
|
# add mingw-w64 specific install targets
|
||||||
if(NOT TARGET install-mingw-w64)
|
if(MINGW)
|
||||||
add_custom_target(install-mingw-w64)
|
if(NOT TARGET install-mingw-w64)
|
||||||
add_dependencies(install-mingw-w64 install-binary)
|
add_custom_target(install-mingw-w64)
|
||||||
endif()
|
add_dependencies(install-mingw-w64 install-binary)
|
||||||
if(NOT TARGET install-mingw-w64-strip)
|
endif()
|
||||||
add_custom_target(install-mingw-w64-strip)
|
if(NOT TARGET install-mingw-w64-strip)
|
||||||
add_dependencies(install-mingw-w64-strip install-binary-strip)
|
add_custom_target(install-mingw-w64-strip)
|
||||||
endif()
|
add_dependencies(install-mingw-w64-strip install-binary-strip)
|
||||||
if(LOCALIZATION_TARGET)
|
endif()
|
||||||
add_dependencies(install-mingw-w64 ${LOCALIZATION_TARGET})
|
if(LOCALIZATION_TARGET)
|
||||||
add_dependencies(install-mingw-w64-strip ${LOCALIZATION_TARGET})
|
add_dependencies(install-mingw-w64 ${LOCALIZATION_TARGET})
|
||||||
|
add_dependencies(install-mingw-w64-strip ${LOCALIZATION_TARGET})
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue