message: Add USE_STATIC_LIBCXX to CmakeLists.txt for the ability to toggle whether to compile with static or dynamic libc++. The current configuration forces static libc++ compilations
diff: @@ -181,11 +181,14 @@ if (WIN32)
  endif()
  if (LINUX)
  + option(USE_STATIC_LIBCXX "Link against the static runtime libraries." ON)
  + if (${USE_STATIC_LIBCXX})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
  link_libraries("-static-libgcc -static-libstdc++")
  link_libraries(libc++.a)
  link_libraries(libc++abi.a)
  endif()
  +endif()
  if (CYGWIN)
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -fno-rtti")
  