- 
                Notifications
    
You must be signed in to change notification settings  - Fork 7.1k
 
Open
Labels
category:port-bugThe issue is with a library, which is something the port should already supportThe issue is with a library, which is something the port should already support
Description
Operating system
Linux RHEL 9.6
Compiler
gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
Steps to reproduce the behavior
Create a vcpkg project that depends on thrift only,
Have a CMakeLists.txt with:
project(thrift_issue)
find_package(Thrift CONFIG REQUIRED)
find_program(THRIFT_EXECUTABLE thrift)Failure logs
CMake Error at vcpkg_installed/evs-blue-x64-linux-dynamic/share/thrift/ThriftConfig.cmake:32 (message):
File or directory
/home/dev/thrift_issue/vcpkg_installed/evs-blue-x64-linux-dynamic/bin/../tools/thrift
referenced by variable THRIFT_BIN_DIR does not exist !
Call Stack (most recent call first):
vcpkg_installed/evs-blue-x64-linux-dynamic/share/thrift/ThriftConfig.cmake:53 (set_and_check)
/home/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:898 (_find_package)
CMakeLists.txt:7 (find_package)
Additional context
This is coming from here: 6006cc4#diff-14cf34fa8e1d648d6b4036d240586ce8e86f7a4c33fc7645a2b62a1cd45eafecR12
Actually in my case, there is no bin folder, so one cannot use bin/../tools
Metadata
Metadata
Assignees
Labels
category:port-bugThe issue is with a library, which is something the port should already supportThe issue is with a library, which is something the port should already support