Fix a couple of issues with the CMake script
authorChristopher Dykes <cdykes@fb.com>
Wed, 3 May 2017 16:28:45 +0000 (09:28 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 3 May 2017 16:37:24 +0000 (09:37 -0700)
commitc2e28878d8f88359599da03080fbbe71dac2e80f
tree95e1a57d749fa7fda960f024c7928f482ed4e3a3
parent58a70372d16f13a952ecc046fa90ce055fb6f36a
Fix a couple of issues with the CMake script

Summary:
The first issue is that I was missing a `G` in `LIBGFLAGS_INCLUDE_DIR` meaning that it always claimed it couldn't find gflags even though it did, and worked just fine anyways.
The second issue is that it was passing `/permissive-` to MSVC 2015 builds, even though MSVC 2015 doesn't support the permissive flag.

Reviewed By: yfeldblum

Differential Revision: D4988813

fbshipit-source-id: f1ea009226baee54032409ce7add3c41f1fe7a19
CMake/FindGFlags.cmake
CMake/FollyCompiler.cmake
CMakeLists.txt