microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.2k stars 6.16k forks source link

[openscenegraph] `find_package(OpenSceneGraph REQUIRED osgQt)` does not work #4396

Open Fish201809 opened 5 years ago

Fish201809 commented 5 years ago

I get the osg-qt. find_package(OpenSceneGraph REQUIRED osgQt osgDB osgGA osgUtil osgText osgViewer osgWidget OpenThreads)

can only found osgQt.lib, but the result of compiled is osgQt5.lib so I rename the osgQt5.lib, finally found the osgQt.lib.

Mikalai commented 5 years ago

Faced the same issue

PhoebeHui commented 5 years ago

The lib name defined in https://github.com/openscenegraph/osgQt/blob/master/src/osgQt/CMakeLists.txt#L9

And Qt5Widgets installed when install qt5-base[core]:x64-windows.

PS F:\vcpkg\src> .\vcpkg install osg-qt:x64-windows The following packages will be built and installed: