Only install translations if HAVE_TRANSLATIONS is set
This commit is contained in:
parent
1a8ca06495
commit
7aebd6ed57
@ -1243,7 +1243,7 @@ if(NOT APPLE)
|
||||
install(TARGETS strawberry RUNTIME DESTINATION bin)
|
||||
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)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user