vcpkg/ports/libqglviewer/macosx.patch

23 lines
897 B
Diff
Raw Normal View History

diff --git a/QGLViewer/QGLViewer.pro b/QGLViewer/QGLViewer.pro
index 702925cb6..fc3cb7118 100644
--- a/QGLViewer/QGLViewer.pro
+++ b/QGLViewer/QGLViewer.pro
2019-09-17 03:37:55 +08:00
@@ -214,7 +214,7 @@ macx|darwin-g++ {
include.files *= qglviewer.icns
# Or whatever exists in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
- QMAKE_MAC_SDK = macosx10.12
+ #QMAKE_MAC_SDK = macosx10.12
lib_bundle {
FRAMEWORK_HEADERS.version = Versions
@@ -224,7 +224,7 @@ macx|darwin-g++ {
QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
# So that the path QGLViewer/*.h exists
- QMAKE_POST_LINK=cd $$DESTDIR/QGLViewer.framework/Headers && (test -L QGLViewer || ln -s . QGLViewer)
+ #QMAKE_POST_LINK=cd $$DESTDIR/QGLViewer.framework/Headers && (test -L QGLViewer || ln -s . QGLViewer)
# Specific paths for the installation of the framework.
!isEmpty( LIB_DIR ) {