cmake for joystick