Skip to content

Commit 2fb36d9

Browse files
committed
Make sure at least C++11 is used
Apparently on macOS we weren't building using c++11, causing a compile error because of a nullptr. Considering the ubiquitous support for c++11 these days, just enable it.
1 parent 938d49a commit 2fb36d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ cmake_minimum_required (VERSION 3.13)
22

33
### Basic compilation settings
44
set (CMAKE_POSITION_INDEPENDENT_CODE TRUE)
5+
set (CMAKE_CXX_STANDARD 11)
56

67
include_directories (
78
${CMAKE_CURRENT_SOURCE_DIR}

0 commit comments

Comments
 (0)