about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b159faa254a..6d04e63fa234 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -99,7 +99,7 @@ set(GOOGLEAPIS_CPP_PROTO_FILES
     "google/spanner/v1/type.proto")
 
 set(GOOGLEAPIS_CPP_BYPRODUCTS)
-foreach (proto ${GOOGLEAPIS_PROTO_FILES})
+foreach (proto ${GOOGLEAPIS_CPP_PROTO_FILES})
     list(APPEND GOOGLEAPIS_CPP_BYPRODUCTS "${GOOGLEAPIS_CPP_SOURCE}/${proto}")
 endforeach ()