Skip to content

Commit

Permalink
Merge pull request #1444 from dcoeurjo/submodule
Browse files Browse the repository at this point in the history
Minor edit to allow DGtal to be used as a submodule
  • Loading branch information
dcoeurjo authored Dec 22, 2019
2 parents 2775f4f + 27d89a3 commit 587840e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@

## Changes

- *General*
- DGtal can be compiled and used as a project (git) submodule (David
Coeurjolly [#1444](https://github.com/DGtal-team/DGtal/pull/1444))


- *DEC*
- Add discrete calculus model of Ambrosio-Tortorelli functional in
order to make piecewise-smooth approximations of scalar or vector
Expand Down
8 changes: 4 additions & 4 deletions cmake/CheckCPP11.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# -----------------------------------------------------------------------------

try_compile( CPP11_COMPATIBLE_FLAG_SET_BY_USER
${CMAKE_BINARY_DIR}/CMakeTmp
${CMAKE_SOURCE_DIR}/cmake/src/cpp11/cpp11_check.cpp
${CMAKE_CURRENT_BINARY_DIR}/CMakeTmp
${CMAKE_CURRENT_SOURCE_DIR}/cmake/src/cpp11/cpp11_check.cpp
CMAKE_FLAGS "-DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}"
OUTPUT_VARIABLE OUTPUT
)
Expand All @@ -15,8 +15,8 @@ ENDIF()

IF (NOT CPP11_COMPATIBLE_FLAG_SET_BY_USER)
try_compile( CPP11_COMPATIBLE_FLAG_SET_BY_DGTAL
${CMAKE_BINARY_DIR}/CMakeTmp
${CMAKE_SOURCE_DIR}/cmake/src/cpp11/cpp11_check.cpp
${CMAKE_CURRENT_BINARY_DIR}/CMakeTmp
${CMAKE_CURRENT_SOURCE_DIR}/cmake/src/cpp11/cpp11_check.cpp
COMPILE_DEFINITIONS "-std=c++11"
OUTPUT_VARIABLE OUTPUT
)
Expand Down

0 comments on commit 587840e

Please sign in to comment.