mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Translations: handle cross compiling
This commit is contained in:
parent
1c18b27021
commit
ec6b93e4ca
2 changed files with 17 additions and 6 deletions
|
@ -430,11 +430,7 @@ add_definition_if_function_found(strptime HAVE_STRPTIME)
|
|||
add_definitions(-DAUTO_INITIALIZE_EASYLOGGINGPP)
|
||||
|
||||
# Generate header for embedded translations
|
||||
include(ExternalProject)
|
||||
ExternalProject_Add(generate_translations_header
|
||||
SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/translations"
|
||||
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/translations"
|
||||
INSTALL_COMMAND cmake -E echo "")
|
||||
add_subdirectory(translations)
|
||||
include_directories("${CMAKE_CURRENT_BINARY_DIR}/translations")
|
||||
|
||||
add_subdirectory(external)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue