blob: 78e8d0a8ee4bbc60352fee88caffae540c98bc09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#.rst:
# FindJsonSchemaBuilder
# ---------------------
# Finds the JsonSchemaBuilder
#
# This will define the following (imported) targets::
#
# JsonSchemaBuilder::JsonSchemaBuilder - The JsonSchemaBuilder executable
if(NOT TARGET JsonSchemaBuilder::JsonSchemaBuilder)
if(CMAKE_CROSSCOMPILING)
add_executable(JsonSchemaBuilder::JsonSchemaBuilder IMPORTED GLOBAL)
set_target_properties(JsonSchemaBuilder::JsonSchemaBuilder PROPERTIES
IMPORTED_LOCATION "${NATIVEPREFIX}/bin/JsonSchemaBuilder")
else()
add_subdirectory(${CORE_SOURCE_DIR}/tools/depends/native/JsonSchemaBuilder build/jsonschemabuilder)
add_executable(JsonSchemaBuilder::JsonSchemaBuilder ALIAS JsonSchemaBuilder)
endif()
endif()
|