summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-01-09 01:39:51 +0100
committerPetr Mrázek <peterix@gmail.com>2016-01-09 01:39:51 +0100
commit1f0e76a3c1fe9dfb702adbd8a1357abe06e22c35 (patch)
tree084447cdad1527695ec9a81ef5ce9d637a5474a7 /CMakeLists.txt
parentd8b1ae38fb8b9277597983040888eb0e32400ee9 (diff)
downloadMultiMC-1f0e76a3c1fe9dfb702adbd8a1357abe06e22c35.tar
MultiMC-1f0e76a3c1fe9dfb702adbd8a1357abe06e22c35.tar.gz
MultiMC-1f0e76a3c1fe9dfb702adbd8a1357abe06e22c35.tar.lz
MultiMC-1f0e76a3c1fe9dfb702adbd8a1357abe06e22c35.tar.xz
MultiMC-1f0e76a3c1fe9dfb702adbd8a1357abe06e22c35.zip
GH-1397 add discord icon to MultiMC toolbar
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 73f3d1d9..f95c53c4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,11 +35,11 @@ set(CMAKE_JAVA_TARGET_OUTPUT_DIR ${PROJECT_BINARY_DIR}/jars)
######## Set compiler flags ########
set(CMAKE_CXX_STANDARD_REQUIRED true)
set(CMAKE_C_STANDARD_REQUIRED true)
-set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD 11)
set(CMAKE_C_STANDARD 11)
include(Coverage)
include(GenerateExportHeader)
-set(CMAKE_CXX_FLAGS " -Wall ${CMAKE_CXX_FLAGS}")
+set(CMAKE_CXX_FLAGS " -Wall -D_GLIBCXX_USE_CXX11_ABI=0 ${CMAKE_CXX_FLAGS}")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Werror=return-type")
# cmake code needed for the coverity scan upload