--- a/config/gdlib.pc.cmake
+++ b/config/gdlib.pc.cmake
@@ -5,7 +5,7 @@ includedir=${prefix}/@CMAKE_INSTALL_INCL
 
 Name: gd
 Description: GD graphics library
-Version: @GDLIB_VERSION@
+Version: @GD_VERSION@
 Cflags: -I${includedir}
 Libs.private: @LIBGD_DEP_LIBS@
 Libs: -L${libdir} -lgd
