tkurbad-overlay/media-gfx/openscad/files/openscad-9999-0001-fix-to-find-lib3mf-2.patch

18 lines
766 B
Diff
Raw Normal View History

2021-10-02 22:53:16 +02:00
diff -urN openscad-9999.orig/cmake/Modules/FindLib3MF.cmake openscad-9999/cmake/Modules/FindLib3MF.cmake
2021-11-22 15:18:54 +01:00
--- openscad-9999.orig/cmake/Modules/FindLib3MF.cmake 2021-10-11 10:49:12.257231123 +0200
+++ openscad-9999/cmake/Modules/FindLib3MF.cmake 2021-10-11 10:50:22.037900144 +0200
2021-10-02 22:53:16 +02:00
@@ -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}