Skip to content

Commit

Permalink
leftovers I had not pointed out
Browse files Browse the repository at this point in the history
I have reviewed all modifications. It should be the last batch.
  • Loading branch information
lrineau committed Oct 17, 2024
1 parent a0d79b7 commit 439df74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ set_property(GLOBAL PROPERTY CGAL_Core_FOUND TRUE)

function(CGAL_setup_CGAL_Core_dependencies target)
find_package( Boost 1.72 REQUIRED )
if (!CGAL_DISABLE_GMP AND GMP_FOUND)
if (NOT CGAL_DISABLE_GMP AND GMP_FOUND)
use_CGAL_GMP_support(CGAL_Core INTERFACE)
endif()
target_compile_definitions(${target} INTERFACE CGAL_USE_CORE=1)
Expand Down
2 changes: 1 addition & 1 deletion Shape_detection/test/Shape_detection/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if(TARGET CGAL::Eigen3_support)
set(RANSAC_PROTO_DIR CACHE PATH "")

add_executable(test_validity_sampled_data "test_validity_sampled_data.cpp")
target_link_libraries(test_validity_sampled_data CGAL::CGAL CGAL::Data CGAL::Eigen3_support)
target_link_libraries(test_validity_sampled_data PRIVATE CGAL::CGAL CGAL::Data CGAL::Eigen3_support)
cgal_add_test(test_validity_sampled_data)
else()
message(STATUS "NOTICE: Some tests require Eigen 3.1 (or greater), and will not be compiled.")
Expand Down

0 comments on commit 439df74

Please sign in to comment.