Add lrelease to the depends

This includes a minimal qt build without gui
This commit is contained in:
TheCharlatan 2018-05-02 17:11:02 +02:00 committed by wowario
parent 427e74cb46
commit 5244b6fe5c
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111
8 changed files with 253 additions and 9 deletions

View file

@ -435,8 +435,18 @@ add_definitions(-DAUTO_INITIALIZE_EASYLOGGINGPP)
# Generate header for embedded translations
add_subdirectory(translations)
#=======
## Generate header for embedded translations, use target toolchain if depends, otherwise use the
## lrelease and lupdate binaries from the host
#include(ExternalProject)
#ExternalProject_Add(generate_translations_header
# SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/translations"
# BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/translations"
# STAMP_DIR ${LRELEASE_PATH}
# CMAKE_ARGS -DLRELEASE_PATH=${LRELEASE_PATH}
# INSTALL_COMMAND cmake -E echo "")
#>>>>>>> b1f43170... Add lrelease to the depends
include_directories("${CMAKE_CURRENT_BINARY_DIR}/translations")
add_subdirectory(external)
# Final setup for libunbound