aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-08-16 14:40:51 +0200
committerRiccardo Spagni <ric@spagni.net>2016-08-16 14:40:51 +0200
commit63ba2447e228137efb5c82c3bd330d3005524bc8 (patch)
tree1c3aa32dbf18f03f6c9abb35b7c891c4cc5ed20b /CMakeLists.txt
parentMerge pull request #959 (diff)
parentBuild: use libstdc++ with clang < 3.7 (diff)
downloadmonero-63ba2447e228137efb5c82c3bd330d3005524bc8.tar.xz
Merge pull request #963
44dab04 Build: use libstdc++ with clang < 3.7 (anonimal) 455ded4 Build: use Boost 1.58 for Travis build. Refs #956 (anonimal)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 90d06c12d..bb5e4b1ad 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -407,8 +407,8 @@ else()
set(USE_LTO false)
# explicitly define stdlib for older versions of clang
if(CMAKE_C_COMPILER_VERSION VERSION_LESS 3.7)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libstdc++")
endif()
endif()