--- cppconn/CMakeLists.txt.orig	2012-08-09 10:30:25.000000000 +0200
+++ cppconn/CMakeLists.txt	2012-08-09 10:31:01.000000000 +0200
@@ -58,7 +58,6 @@
 
 SET(MYSQLCPPCONN_INSTALL_HEADERS
 		build_config.h
-		config.h
 		connection.h
 		datatype.h
 		driver.h
@@ -73,3 +72,4 @@
 		warning.h)
 
 INSTALL(FILES ${MYSQLCPPCONN_INSTALL_HEADERS} DESTINATION include/cppconn)
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h DESTINATION include/cppconn)
