aboutsummaryrefslogtreecommitdiff
path: root/ports/qt5-3d
diff options
context:
space:
mode:
authorArtem Shubovych <shybovycha@gmail.com>2021-07-07 06:51:11 +1000
committerGitHub <noreply@github.com>2021-07-06 13:51:11 -0700
commit5fa8c717ea9fbf5949e6222526314feca2944c20 (patch)
tree457c8a783e74fe50aff0a24acb687d233824e4e6 /ports/qt5-3d
parentdbed9ee4c062d265b33253c1e74ad02ea383759a (diff)
downloadvcpkg-5fa8c717ea9fbf5949e6222526314feca2944c20.tar.gz
vcpkg-5fa8c717ea9fbf5949e6222526314feca2944c20.zip
[irrlicht] Add OSX support (#18725)
* Fix Irrlicht compilation on OSX * Update port description * Update portfile instructions * Update version * Fix patch files * Add missing cmake dependencies * Remove obsolete comment * Update version * Remove OBJCXX language from project definition to prevent Windows builds from failing * Update versions * Code review tweaks * Update version * Update versions/i-/irrlicht.json Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Fix qt5-3d build failure on OSX * Update qt5-3d version * Update port-version for qt5-3d * Update version for qt5-3d * [qt5-3d] Revert modification to previous version entry Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: Robert Schumacher <ras0219@outlook.com>
Diffstat (limited to 'ports/qt5-3d')
-rw-r--r--ports/qt5-3d/CONTROL1
-rw-r--r--ports/qt5-3d/portfile.cmake2
2 files changed, 3 insertions, 0 deletions
diff --git a/ports/qt5-3d/CONTROL b/ports/qt5-3d/CONTROL
index 7868a6595..1ec0c15a6 100644
--- a/ports/qt5-3d/CONTROL
+++ b/ports/qt5-3d/CONTROL
@@ -1,4 +1,5 @@
Source: qt5-3d
Version: 5.15.2
+Port-Version: 1
Description: Qt5 3d Module - Functionality for near-realtime simulation systems with support for 2D and 3D rendering
Build-Depends: qt5-base[core], qt5-declarative, qt5-imageformats, qt5-gamepad, assimp
diff --git a/ports/qt5-3d/portfile.cmake b/ports/qt5-3d/portfile.cmake
index 912bad83d..62a01e4de 100644
--- a/ports/qt5-3d/portfile.cmake
+++ b/ports/qt5-3d/portfile.cmake
@@ -45,6 +45,8 @@ if(BZ2_DBG)
endif()
if(VCPKG_TARGET_IS_WINDOWS)
set(SYSTEM_LIBS "Advapi32.lib user32.lib gdi32.lib")
+elseif(VCPKG_TARGET_IS_OSX)
+ set(SYSTEM_LIBS "-framework OpenGL -framework Cocoa -framework Carbon -framework IOKit -framework AppKit")
else()
set(SYSTEM_LIBS "-lGL -lXxf86vm -lX11")
endif()