Modified CMakeLists.txt (fix conflict between debug and release building)