diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2020-12-03 16:07:15 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2020-12-03 16:07:15 +0300 |
commit | f94498eac373d776030814575d33b45c28edd9f2 (patch) | |
tree | 5d9b4fc7bd14bbcdcba08f9b171e1c65acf7f5d3 /deps | |
parent | 639ef33aabf168f3919f8994672dce2bbbfb7060 (diff) |
Fix for not finding CGAL in 32 bit MSVC
Diffstat (limited to 'deps')
-rw-r--r-- | deps/CGAL/cgal/CGALConfigVersion.cmake | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/deps/CGAL/cgal/CGALConfigVersion.cmake b/deps/CGAL/cgal/CGALConfigVersion.cmake index f688824e8..8a15bb8ac 100644 --- a/deps/CGAL/cgal/CGALConfigVersion.cmake +++ b/deps/CGAL/cgal/CGALConfigVersion.cmake @@ -22,16 +22,4 @@ endif() # if the installed project requested no architecture check, don't perform the check if("FALSE") return() -endif() - -# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: -if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "") - return() -endif() - -# check that the installed version has the same 32/64bit-ness as the one which is currently searching: -if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8") - math(EXPR installedBits "8 * 8") - set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") - set(PACKAGE_VERSION_UNSUITABLE TRUE) -endif() +endif()
\ No newline at end of file |