You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to use Embree 3.13.5 with TBB, CMake throws the following error:
CMake Error at /home/crgnam/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package):
_find_package called with invalid argument "tbb"
Call Stack (most recent call first):
/usr/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
build/vcpkg_installed/x64-linux/share/embree/embree-config.cmake:54 (find_dependency)
/home/crgnam/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
CMakeLists.txt:6 (find_package)
This only occurs when I use an override to explicitly set "version": "3.13.5". But this is the most recent version of embree available via vcpkg so I am confused how (currently) setting the override to 3.13.5 would be any different than setting a minimum of 3.13.5. (My rationale for doing this is to simply avoid any breaking changes to the embree API in the future)
Environment
OS: Windows 10 and Ubuntu 20.04
Compiler: Visual Studio 2019
To Reproduce
I've put together a minimal working example to use with Ubuntu 20.04
Bug Description:
When attempting to use Embree 3.13.5 with TBB, CMake throws the following error:
This only occurs when I use an override to explicitly set
"version": "3.13.5"
. But this is the most recent version of embree available viavcpkg
so I am confused how (currently) setting the override to3.13.5
would be any different than setting a minimum of3.13.5
. (My rationale for doing this is to simply avoid any breaking changes to the embree API in the future)Environment
To Reproduce
I've put together a minimal working example to use with Ubuntu 20.04
File structure:
vcpkg.json
:CMakeLists.txt
:main.cpp
:Then from the
build/
directory, run:Expected behavior
I expect the CMake configuration to complete without issue, as I can use TBB and embree independently without a problem.
Failure logs
Additional context
If I remove the explicit version pinning by removing the override (that is, changing my
vcpkg.json
to the following)The CMake configuration completes without issue, and everything works as expected.
The text was updated successfully, but these errors were encountered: