1
0
Fork 0

Fix translations variable where no translations data

This commit is contained in:
Stuart Buchanan 2018-09-01 16:22:08 +01:00
parent c537bbcfe7
commit c5840b1039

View file

@ -11,6 +11,7 @@ elseif(EXISTS ${FGDATA_SRC_DIR})
set(do_translate TRUE)
else()
message(STATUS "Couldn't find translations data, will not include translated string in the executable")
set(do_translate FALSE)
endif()
find_package(Qt5 5.4 COMPONENTS LinguistTools)
@ -55,4 +56,4 @@ if (${do_translate})
# set this so config.h can detect it
set(HAVE_QRC_TRANSLATIONS TRUE)
endif() # of do translate
endif() # of do translate