the PROJECT() command already assign its argument to the PROJECT_NAME variable

Check http://www.cmake.org/Wiki/CMake_Useful_Variables