CBD-1438: CMakeLists.txt for integration with Sherlock builds

Change-Id: I951d7419bc13dfdb5fa458fe421dace600eda717
Reviewed-on: http://review.couchbase.org/42379
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>