CMake: Fix HOST_BINARY_DIR cross compiling
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user