Commit 643a3901 authored by Anthony Léonard's avatar Anthony Léonard Committed by Guillaume Roguez

fix c++14 flag

CMake has an option to automatically set compilation flags instead of
setting “-std=c++14” manually.

Change-Id: I72d31b9836503ac19dc3e8e65cbdc358430771e1
Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
parent ccf53d1c
......@@ -16,7 +16,9 @@ SET(RING_VERSION_NAME "Liberté, Égalité, Fraternité - Version 1.0")
MESSAGE("Building Ring version - " ${RING_VERSION_NAME} " " ${RING_VERSION})
SET(PROJ_COPYRIGHT " © 2015-2017 Savoir-faire Linux \n GPLv3 https://www.gnu.org/copyleft/gpl.html")
ADD_DEFINITIONS("-std=c++14 -stdlib=libc++ -fobjc-arc")
SET(CMAKE_CXX_STANDARD 14)
ADD_DEFINITIONS("-stdlib=libc++ -fobjc-arc")
PROJECT(${PROJ_NAME})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment