From a06fe8e8a7d749f1fbd08102a9516acd51171b24 Mon Sep 17 00:00:00 2001 From: glx22 Date: Wed, 1 Jul 2020 02:52:32 +0200 Subject: Fix: [CMake] cross-compiling requires native tools --- src/table/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/table') diff --git a/src/table/CMakeLists.txt b/src/table/CMakeLists.txt index 23b4724e3..e63337b8a 100644 --- a/src/table/CMakeLists.txt +++ b/src/table/CMakeLists.txt @@ -11,6 +11,10 @@ set(TABLE_INI_SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/window_settings.ini ) +if (HOST_BINARY_DIR) + include(${HOST_BINARY_DIR}/settingsgen.cmake) +endif() + # Generate a command and target to create the settings table add_custom_command_timestamp(OUTPUT ${TABLE_BINARY_DIR}/settings.h COMMAND ${CMAKE_COMMAND} -E make_directory ${TABLE_BINARY_DIR} -- cgit v1.2.3-54-g00ecf