CMake: Fix host strgen/settingsgen importing

This commit is contained in:
Jonathan G Rennison
2021-03-04 18:50:29 +00:00
parent 92eb93561c
commit 70f3993a55
4 changed files with 2 additions and 4 deletions

View File

@@ -13,6 +13,6 @@ if (NOT HOST_BINARY_DIR)
add_definitions(-DSETTINGSGEN)
add_executable(settingsgen ${sourcefiles})
export(TARGETS settingsgen FILE ${CMAKE_BINARY_DIR}/settingsgen.cmake)
export(TARGETS settingsgen NAMESPACE host FILE ${CMAKE_BINARY_DIR}/settingsgen.cmake)
add_dependencies(tools settingsgen)
endif()