Only install translations when INSTALL_TRANSLATIONS is set
This commit is contained in:
parent
a27ae7e4a6
commit
1a8ca06495
|
@ -1243,7 +1243,7 @@ if(NOT APPLE)
|
|||
install(TARGETS strawberry RUNTIME DESTINATION bin)
|
||||
endif()
|
||||
|
||||
if(INSTALL_TRANSLATIONS_FILES)
|
||||
if(INSTALL_TRANSLATIONS AND INSTALL_TRANSLATIONS_FILES)
|
||||
install(FILES ${INSTALL_TRANSLATIONS_FILES} DESTINATION share/translations)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue