diff --git a/CMake/OTBConfig.cmake.in b/CMake/OTBConfig.cmake.in
index aca529c851a4c0606fc780b66f5f8df267290f56..368b7f068635a0cc5a5ed83765ac591173e2bf6c 100644
--- a/CMake/OTBConfig.cmake.in
+++ b/CMake/OTBConfig.cmake.in
@@ -137,6 +137,7 @@ SET(OTB_USE_EXTERNAL_LIBLAS "@OTB_USE_EXTERNAL_LIBLAS@")
 
 #Mapnik support
 SET(OTB_USE_MAPNIK "@OTB_USE_MAPNIK@")
+SET(OTB_MAPNIK_SUPPORTS_API20 "@OTB_MAPNIK_SUPPORTS_API20@")
 
 #Jpeg2000 support
 SET(OTB_USE_JPEG2000 "@OTB_USE_JPEG2000@")