Skip to content

Commit

Permalink
update CMakeLists.txt to supoort CXX11
Browse files Browse the repository at this point in the history
  • Loading branch information
drivextech committed Mar 11, 2020
1 parent 783fd0a commit c088f47
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 @@ -4,6 +4,10 @@ project(Segmenter VERSION 0.1.0)
include(CTest)
enable_testing()

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_EXTENSIONS ON)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_library(Segmenter_C segmenter.c packer.c)

add_library(Segmenter_CPP segmenter.cpp packer.c)
Expand Down

0 comments on commit c088f47

Please sign in to comment.