Added CMake configuration to build sample