Update CMakeLists.txt

Update test to make it work without setting toplevel projecte /clr option.