git: 36816e4d3c25 - main - cad/solvespace: Fix build with CMake >= 3.28.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Dec 2023 23:03:42 UTC
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=36816e4d3c2516e1b4d1c0814f0a8b3982fdce06 commit 36816e4d3c2516e1b4d1c0814f0a8b3982fdce06 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2023-12-28 20:08:52 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2023-12-28 23:03:31 +0000 cad/solvespace: Fix build with CMake >= 3.28.0 PR: 275730 Approved by: portmgr (blanket) --- cad/solvespace/files/patch-src_CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/cad/solvespace/files/patch-src_CMakeLists.txt b/cad/solvespace/files/patch-src_CMakeLists.txt new file mode 100644 index 000000000000..ed0643e9924e --- /dev/null +++ b/cad/solvespace/files/patch-src_CMakeLists.txt @@ -0,0 +1,17 @@ +Fix build with CMake >= 3.28.0. FREETYPE_LIBRARY has not officially been +part of the user-facing interface of the FindFreetype module since CMake +2.6.0 [1] and has only been coincidentally defined up until this point. + +[1] https://gitlab.kitware.com/cmake/cmake/-/commit/d18fb61c76c720ec5b1ac2cc4f30a5beaf071c33 + +--- src/CMakeLists.txt.orig 2023-12-26 21:03:32 UTC ++++ src/CMakeLists.txt +@@ -33,7 +33,7 @@ target_link_libraries(slvs_deps INTERFACE + dxfrw + ${ZLIB_LIBRARY} + ${PNG_LIBRARY} +- ${FREETYPE_LIBRARY} ++ ${FREETYPE_LIBRARIES} + ${CAIRO_LIBRARIES} + mimalloc-static) +