Add mingw-w64 specific targets only when using mingw-w64
This commit is contained in:
parent
eb98b98c03
commit
2e2b66e398
|
@ -136,6 +136,7 @@ if(NOT META_NO_INSTALL_TARGETS AND ENABLE_INSTALL_TARGETS)
|
|||
add_dependencies(install-binary-strip ${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX})
|
||||
|
||||
# add mingw-w64 specific install targets
|
||||
if(MINGW)
|
||||
if(NOT TARGET install-mingw-w64)
|
||||
add_custom_target(install-mingw-w64)
|
||||
add_dependencies(install-mingw-w64 install-binary)
|
||||
|
@ -149,6 +150,7 @@ if(NOT META_NO_INSTALL_TARGETS AND ENABLE_INSTALL_TARGETS)
|
|||
add_dependencies(install-mingw-w64-strip ${LOCALIZATION_TARGET})
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# add target for launching application with wine ensuring the WINEPATH is set correctly so wine is able to find all required *.dll files
|
||||
# requires script from c++utilities, hence the sources of c++utilities must be present
|
||||
|
|
Loading…
Reference in New Issue