Finish CMake for ex1 and ex2. Error on ex3