Added WITH_CODESIGN to cmake

Fixed build from failing due to bad merge