Merge remote-tracking branch 'origin' into install-targets

# Conflicts:
#	CMakeLists.txt
This commit is contained in:
apathy
2017-01-06 23:41:54 -06:00
3 changed files with 6 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# stationapi [![Build Status](https://travis-ci.com/apathyboy/stationapi.svg?token=FbjsTwsn9ctKssvZJqCa&branch=master)](https://travis-ci.com/apathyboy/stationapi) #
# stationapi [![Build Status](https://travis-ci.org/apathyboy/stationapi.svg?branch=master)](https://travis-ci.com/apathyboy/stationapi) #
A base library at the core of applications that implement chat and login functionality across galaxies.

View File

@@ -1,8 +1,9 @@
if (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -stdlib=libc++")
if (NOT APPLE)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lc++abi")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
if (APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -stdlib=libc++")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++")
endif ()
elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")

View File

@@ -6,6 +6,7 @@
#include <algorithm>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
template <typename NodeT, typename ClientT>