freebsd-ports/graphics/cloudcompare/files/patch-CMakeExternalLibs.cmake
Yuri Victorovich 7e74b12f4f New port: graphics/cloudcompare: 3D point cloud processing software
Doesn't build on 12 with PLUGINS=on due to the math/vtk6 failure:
https://gitlab.kitware.com/vtk/vtk/issues/17285
It builds with PLUGINS=off.

Compared to the original submission, sevaral changes have been made:
* Added the PLUGINS option
* Fixed the GAMEPAD option
* etc.

PR:		226239
Submitted by:	Neel Chauhan <neel@neelc.org>
2018-04-14 14:52:04 +00:00

11 lines
527 B
CMake

--- CMakeExternalLibs.cmake.orig 2018-03-16 21:26:02 UTC
+++ CMakeExternalLibs.cmake
@@ -66,7 +66,7 @@ endif()
# ------------------------------------------------------------------------------
# OpenMP
# ------------------------------------------------------------------------------
-find_package(OpenMP QUIET)
+#find_package(OpenMP QUIET) # Broken on FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678
if (OPENMP_FOUND)
message("OpenMP found")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")