Skip to content

Commit dda164d

Browse files
authored
Fix protobuf get_target_property
1 parent 857a8d6 commit dda164d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cdk/cmake/DepFindProtobuf.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ foreach(tgt protobuf protobuf-lite protoc)
186186

187187
#message("- CONF: ${CONF}")
188188

189-
get_target_property(LOC pb_${tgt} IMPORTED_LOCATION_${CONF})
189+
get_target_property(LOC ${TGT_${tgt}} IMPORTED_LOCATION_${CONF})
190190

191191
if(LOC)
192192

0 commit comments

Comments
 (0)