aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindJsonSchemaBuilder.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindJsonSchemaBuilder.cmake')
-rw-r--r--cmake/modules/FindJsonSchemaBuilder.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindJsonSchemaBuilder.cmake b/cmake/modules/FindJsonSchemaBuilder.cmake
index 3bffb4831c..cdaa2d5d7e 100644
--- a/cmake/modules/FindJsonSchemaBuilder.cmake
+++ b/cmake/modules/FindJsonSchemaBuilder.cmake
@@ -14,7 +14,7 @@ if(NOT TARGET JsonSchemaBuilder::JsonSchemaBuilder)
IMPORTED_LOCATION "${NATIVEPREFIX}/bin/JsonSchemaBuilder")
set_target_properties(JsonSchemaBuilder::JsonSchemaBuilder PROPERTIES FOLDER Tools)
else()
- add_subdirectory(${CORE_SOURCE_DIR}/tools/depends/native/JsonSchemaBuilder build/jsonschemabuilder)
+ add_subdirectory(${CMAKE_SOURCE_DIR}/tools/depends/native/JsonSchemaBuilder build/jsonschemabuilder)
add_executable(JsonSchemaBuilder::JsonSchemaBuilder ALIAS JsonSchemaBuilder)
set_target_properties(JsonSchemaBuilder PROPERTIES FOLDER Tools)
endif()