Skip to content

Commit

Permalink
Merge pull request #364 from kerautret/FixDGtalCPP11check
Browse files Browse the repository at this point in the history
set cmake  based CPP11 check
  • Loading branch information
dcoeurjo committed Jan 7, 2020
2 parents d5301cd + 10f0108 commit 5dfc7cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ LINK_DIRECTORIES(${DGTAL_LIBRARY_DIRS})
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
message(STATUS "DGtal found.")



# -----------------------------------------------------------------------------
# CPP11
# -----------------------------------------------------------------------------
set (CMAKE_CXX_STANDARD 11)
set (CMAKE_CXX_STANDARD_REQUIRED TRUE)



# -------------------------------------------------------------------------
# This test is for instance used for ITK v3.x. ITK forces a limited
# template depth. We remove this option.
Expand Down
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
- *global*
- Fix issue of link with boost program option. (Bertrand Kerautret
[#356](https://github.com/DGtal-team/DGtalTools/pull/356))
- set cmake based CPP11 check instead the manual DGtal check. (Bertrand
Kerautret [#364](https://github.com/DGtal-team/DGtalTools/pull/364))

- *volumetric:
- Passing argument by const reference in (min|max|mean)Val of volSubSample.
Expand Down

0 comments on commit 5dfc7cd

Please sign in to comment.