mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
Adapt translations to upstream changes
This commit is contained in:
parent
db5715468a
commit
cbbf4d241b
@ -440,17 +440,17 @@ add_definition_if_function_found(strptime HAVE_STRPTIME)
|
|||||||
add_definitions(-DAUTO_INITIALIZE_EASYLOGGINGPP)
|
add_definitions(-DAUTO_INITIALIZE_EASYLOGGINGPP)
|
||||||
|
|
||||||
# Generate header for embedded translations
|
# Generate header for embedded translations
|
||||||
add_subdirectory(translations)
|
#add_subdirectory(translations)
|
||||||
#=======
|
#=======
|
||||||
## Generate header for embedded translations, use target toolchain if depends, otherwise use the
|
# Generate header for embedded translations, use target toolchain if depends, otherwise use the
|
||||||
## lrelease and lupdate binaries from the host
|
# lrelease and lupdate binaries from the host
|
||||||
#include(ExternalProject)
|
include(ExternalProject)
|
||||||
#ExternalProject_Add(generate_translations_header
|
ExternalProject_Add(generate_translations_header
|
||||||
# SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/translations"
|
SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/translations"
|
||||||
# BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/translations"
|
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/translations"
|
||||||
# STAMP_DIR ${LRELEASE_PATH}
|
STAMP_DIR ${LRELEASE_PATH}
|
||||||
# CMAKE_ARGS -DLRELEASE_PATH=${LRELEASE_PATH}
|
CMAKE_ARGS -DLRELEASE_PATH=${LRELEASE_PATH}
|
||||||
# INSTALL_COMMAND cmake -E echo "")
|
INSTALL_COMMAND cmake -E echo "")
|
||||||
#>>>>>>> b1f43170... Add lrelease to the depends
|
#>>>>>>> b1f43170... Add lrelease to the depends
|
||||||
include_directories("${CMAKE_CURRENT_BINARY_DIR}/translations")
|
include_directories("${CMAKE_CURRENT_BINARY_DIR}/translations")
|
||||||
add_subdirectory(external)
|
add_subdirectory(external)
|
||||||
|
Loading…
Reference in New Issue
Block a user