Merge pull request #58 from drizt/master

cmake: added static library support