From 35f02c12f5e90dc7259787f002fdaeeac646b78d Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Wed, 26 Oct 2016 15:31:35 +0200 Subject: Finally fixing travis CI? --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 87fc2e5..6bcf0a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,6 +122,8 @@ endif() if(${CMAKE_CXX_COMPILER_ID} STREQUAL GNU) elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL Clang) + # see http://askubuntu.com/questions/523613/upgrade-to-gcc-4-9-broke-clang + add_definitions("-stdlib=libc++") elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC) add_definitions("-D_SCL_SECURE_NO_WARNINGS") -- cgit v0.12