aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorWolfgang Schupp <w.schupp@a1.net>2016-12-13 20:31:48 +0100
committerGitHub <noreply@github.com>2016-12-13 20:31:48 +0100
commit3e89e23f6c1fe12d80bb15117bb32ae43c8f564c (patch)
treee9b1172e92d056b2d6d513420c9118a175a50b45 /project
parent3115b54b63f0512c502d7eb2a943ac048bebf5c5 (diff)
parent6b77382bb5a1b03a142e0708401b3041b6cb273b (diff)
Merge pull request #11158 from stefansaraev/json-cross
cmake: fix FindJsonSchemaBuilder.cmake after 3664574
Diffstat (limited to 'project')
-rw-r--r--project/cmake/modules/FindJsonSchemaBuilder.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/cmake/modules/FindJsonSchemaBuilder.cmake b/project/cmake/modules/FindJsonSchemaBuilder.cmake
index b9d236996a..3bffb4831c 100644
--- a/project/cmake/modules/FindJsonSchemaBuilder.cmake
+++ b/project/cmake/modules/FindJsonSchemaBuilder.cmake
@@ -8,7 +8,7 @@
# JsonSchemaBuilder::JsonSchemaBuilder - The JsonSchemaBuilder executable
if(NOT TARGET JsonSchemaBuilder::JsonSchemaBuilder)
- if(KODI_DEPENDSBUILD)
+ if(KODI_DEPENDSBUILD OR CMAKE_CROSSCOMPILING)
add_executable(JsonSchemaBuilder::JsonSchemaBuilder IMPORTED GLOBAL)
set_target_properties(JsonSchemaBuilder::JsonSchemaBuilder PROPERTIES
IMPORTED_LOCATION "${NATIVEPREFIX}/bin/JsonSchemaBuilder")