Skip to content

Commit

Permalink
Merge pull request #1567 from JacquesOlivierLachaud/Fix1566
Browse files Browse the repository at this point in the history
Update CMakeLists to Fix #1566
  • Loading branch information
JacquesOlivierLachaud authored Apr 29, 2021
2 parents 9e61e4c + 665f9bc commit 569c911
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
- Fix issue [#1552](https:/DGtal-team/DGtal/issues/1552) about a
plane-probing unit test taking too long
(Jocelyn Meyron, [#1553](https:/DGtal-team/DGtal/pull/1553))
- Fix issue
[#1566](https:/DGtal-team/DGtal/issues/1566): do not
compile example checkLatticeBallQuickHull if WITH_GMP is not set
(Jacques-Olivier Lachaud,[#1567](https:/DGtal-team/DGtal/pull/1567))

- *Shapes package*
- Fix the use of uninitialized variable in NGon2D.
Expand Down
11 changes: 9 additions & 2 deletions examples/geometry/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ set(DGTAL_EXAMPLES_SRC
exampleQuickHull3D
exampleLatticeBallDelaunay3D
exampleRationalBallDelaunay3D
checkLatticeBallQuickHull
)


Expand All @@ -19,5 +18,13 @@ foreach(FILE ${DGTAL_EXAMPLES_SRC})
target_link_libraries (${FILE} DGtal )
endforeach()


if ( WITH_GMP )
set(DGTAL_EXAMPLES_GMP_SRC
checkLatticeBallQuickHull
)
foreach(FILE ${DGTAL_EXAMPLES_GMP_SRC})
add_executable(${FILE} ${FILE}.cpp)
target_link_libraries (${FILE} DGtal)
endforeach()
endif()

0 comments on commit 569c911

Please sign in to comment.