Skip to content

Commit

Permalink
Fix issue CGAL#8192
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed May 23, 2024
1 parent 8135785 commit bc62b53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions Installation/lib/cmake/CGAL/CGALConfigVersion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ set(PACKAGE_VERSION ${CGAL_CREATED_VERSION_NUM})
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CGAL_MAJOR_VERSION)
set(PACKAGE_VERSION_COMPATIBLE TRUE)
else()
set(PACKAGE_VERSION_COMPATIBLE FALSE)
endif()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
set(PACKAGE_VERSION_EXACT TRUE)
endif()
Expand Down
1 change: 0 additions & 1 deletion Installation/test/Installation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ CGAL_installation_test_find_package_version(fail-exact)

set_tests_properties(
test_find_package_version_greater
test_find_package_version_less_major
test_find_package_version_fail-exact
PROPERTIES WILL_FAIL TRUE)

Expand Down

0 comments on commit bc62b53

Please sign in to comment.