Skip to content

Commit

Permalink
Force C++11.
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
  • Loading branch information
hidmic committed Jul 22, 2020
1 parent 8a3b233 commit 79a51a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
cmake_minimum_required (VERSION 2.8)

project (Mimick C CXX)
# Default to C++11
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 11)
endif()

include (CheckSymbolExists)
include (GNUInstallDirs)
Expand Down

0 comments on commit 79a51a3

Please sign in to comment.