add version define in CMakeLists.txt