Only install translations if HAVE_TRANSLATIONS is set
This commit is contained in:
@@ -1243,7 +1243,7 @@ if(NOT APPLE)
|
|||||||
install(TARGETS strawberry RUNTIME DESTINATION bin)
|
install(TARGETS strawberry RUNTIME DESTINATION bin)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(INSTALL_TRANSLATIONS AND INSTALL_TRANSLATIONS_FILES)
|
if(HAVE_TRANSLATIONS AND INSTALL_TRANSLATIONS AND INSTALL_TRANSLATIONS_FILES)
|
||||||
install(FILES ${INSTALL_TRANSLATIONS_FILES} DESTINATION share/translations)
|
install(FILES ${INSTALL_TRANSLATIONS_FILES} DESTINATION share/translations)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user