changed cmake for mouse sensor