Add /bigobj to nist on MSVC.

- Required by MSVC 2017, raised as issue #368.

Change-Id: Ie1431b4c1fad7a45342a98b1fd20ab7c51d8b899
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index eef5e5e..3d86be8 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -78,6 +78,9 @@
 
   add_executable(nist nist.cc)
   target_link_libraries(nist ceres ${GFLAGS_LIBRARIES})
+  if (MSVC)
+    target_compile_options(nist PRIVATE "/bigobj")
+  endif()
 
   add_executable(more_garbow_hillstrom more_garbow_hillstrom.cc)
   target_link_libraries(more_garbow_hillstrom ceres ${GFLAGS_LIBRARIES})