CMake: Fix HOST_BINARY_DIR cross compiling

This commit is contained in:
Jonathan G Rennison
2021-03-02 21:55:17 +00:00
parent 8d650f82ae
commit 59741b9f3c
3 changed files with 6 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ set(LANG_BINARY_DIR ${CMAKE_BINARY_DIR}/lang)
if (HOST_BINARY_DIR)
include(${HOST_BINARY_DIR}/strgen.cmake)
add_executable(hoststrgen ALIAS strgen)
endif()
# Walk over all the (finished) language files, and generate a command to compile them

View File

@@ -13,6 +13,7 @@ set(TABLE_INI_SOURCE_FILES
if (HOST_BINARY_DIR)
include(${HOST_BINARY_DIR}/settingsgen.cmake)
add_executable(hostsettingsgen ALIAS settingsgen)
endif()
# Generate a command and target to create the settings table