Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2020-12-03 16:07:15 +0300
committertamasmeszaros <meszaros.q@gmail.com>2020-12-03 16:07:15 +0300
commitf94498eac373d776030814575d33b45c28edd9f2 (patch)
tree5d9b4fc7bd14bbcdcba08f9b171e1c65acf7f5d3 /deps
parent639ef33aabf168f3919f8994672dce2bbbfb7060 (diff)
Fix for not finding CGAL in 32 bit MSVC
Diffstat (limited to 'deps')
-rw-r--r--deps/CGAL/cgal/CGALConfigVersion.cmake14
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