tkurbad-overlay/media-gfx/openscad/files/openscad-9999-0001-fix-to-find-lib3mf-2.patch
2021-10-02 22:53:16 +02:00

18 lines
766 B
Diff

diff -urN openscad-9999.orig/cmake/Modules/FindLib3MF.cmake openscad-9999/cmake/Modules/FindLib3MF.cmake
--- openscad-9999.orig/cmake/Modules/FindLib3MF.cmake 2021-09-29 09:08:23.870290708 +0200
+++ openscad-9999/cmake/Modules/FindLib3MF.cmake 2021-09-29 09:20:36.077846758 +0200
@@ -14,11 +14,11 @@
# Travis CI Ubuntu Trusty environment has some issue with pkg-config
# not finding the version.
find_package(PkgConfig REQUIRED QUIET)
-pkg_check_modules(PC_LIB3MF lib3MF)
+pkg_check_modules(PC_LIB3MF lib3mf)
set(LIB3MF_VERSION ${PC_LIB3MF_VERSION})
find_path(LIB3MF_INCLUDE_DIRS
- NAMES Model/COM/NMR_DLLInterfaces.h
+ NAMES lib3mf_implicit.hpp
HINTS $ENV{LIB3MF_INCLUDEDIR}
${PC_LIB3MF_INCLUDEDIR}
${PC_LIB3MF_INCLUDE_DIRS}