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
342342if (GRAPHQL_UPDATE_SAMPLES)
343343 # Even though this target doesn't build IntrospectionSchema.cpp, it still
344344 # depends on IntrospectionSchema.h for some enum definitions.
345- add_dependencies (graphqlservice update_introspection_headers )
345+ add_dependencies (graphqlservice copy_introspection_schema_headers )
346346endif ()
347347
348348if (GRAPHQL_UPDATE_VERSION)
Original file line number Diff line number Diff line change @@ -10,18 +10,16 @@ if(GRAPHQL_UPDATE_SAMPLES)
1010 update_graphql_schema_files(introspection schema.introspection.graphql Introspection introspection --introspection)
1111
1212 add_custom_command (
13- OUTPUT updated_introspection_schema_headers
13+ OUTPUT copied_introspection_schema_headers
1414 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
1616 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR} /introspection_schema_files
1717 COMMENT "Updating IntrospectionSchema headers" )
1818
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 )
2121endif ()
2222
23- set_property (DIRECTORY APPEND
24- PROPERTY CMAKE_CONFIGURE_DEPENDS introspection_schema_files)
2523file (GLOB SCHEMA_FILES ${CMAKE_CURRENT_SOURCE_DIR} /../../include /graphqlservice/introspection/*.h)
2624install (FILES ${SCHEMA_FILES}
2725 CONFIGURATIONS ${GRAPHQL_INSTALL_CONFIGURATIONS}
You can’t perform that action at this time.
0 commit comments