summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml3
-rw-r--r--CMakeLists.txt2
2 files changed, 2 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index e018660..56b0972 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,7 @@ compiler:
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
+ - if [ "$CXX" = "clang" ]; then export CXX="clang++-3.5" CC="clang-3.5"; fi
addons:
apt:
@@ -19,7 +20,7 @@ addons:
packages:
- gcc-4.9
- g++-4.9
- - clang
+ - clang-3.5
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6bcf0a1..87fc2e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -122,8 +122,6 @@ 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")