change #include "../config.h" to #include "config.h" because the gererated config.h file is redirected to binary dir,
which can be included in CMakeLists.txt file