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

@@ -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