File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ target_link_libraries(graphqlservice PUBLIC
342
342
if (GRAPHQL_UPDATE_SAMPLES )
343
343
# Even though this target doesn't build IntrospectionSchema.cpp, it still
344
344
# depends on IntrospectionSchema.h for some enum definitions.
345
- add_dependencies (graphqlservice update_introspection_headers )
345
+ add_dependencies (graphqlservice copy_introspection_schema_headers )
346
346
endif ()
347
347
348
348
if (GRAPHQL_UPDATE_VERSION )
Original file line number Diff line number Diff line change @@ -10,18 +10,16 @@ if(GRAPHQL_UPDATE_SAMPLES)
10
10
update_graphql_schema_files (introspection schema.introspection.graphql Introspection introspection --introspection )
11
11
12
12
add_custom_command (
13
- OUTPUT updated_introspection_schema_headers
13
+ OUTPUT copied_introspection_schema_headers
14
14
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR} /*.h ${CMAKE_CURRENT_SOURCE_DIR} /../../include/graphqlservice/introspection/
15
- COMMAND ${CMAKE_COMMAND} -E touch updated_introspection_schema_headers
15
+ COMMAND ${CMAKE_COMMAND} -E touch copied_introspection_schema_headers
16
16
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR} /introspection_schema_files
17
17
COMMENT "Updating IntrospectionSchema headers" )
18
18
19
- add_custom_target (update_introspection_headers ALL
20
- DEPENDS updated_introspection_schema_headers )
19
+ add_custom_target (copy_introspection_schema_headers ALL
20
+ DEPENDS copied_introspection_schema_headers )
21
21
endif ()
22
22
23
- set_property (DIRECTORY APPEND
24
- PROPERTY CMAKE_CONFIGURE_DEPENDS introspection_schema_files )
25
23
file (GLOB SCHEMA_FILES ${CMAKE_CURRENT_SOURCE_DIR} /../../include/graphqlservice/introspection/*.h )
26
24
install (FILES ${SCHEMA_FILES}
27
25
CONFIGURATIONS ${GRAPHQL_INSTALL_CONFIGURATIONS}
You can’t perform that action at this time.
0 commit comments