Added WITH_CODESIGN to cmake
Fixed build from failing due to bad merge
Merge pull request #845 from lodle/codesign

Added WITH_CODESIGN to cmake