RealLitb

Results 14 comments of RealLitb

> ``` > root@test:~# /root/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/root/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DCMAKE_BUILD_TYPE=Debug . > -- The C compiler identification is GNU 11.4.0 > -- The CXX compiler identification is GNU 11.4.0 > -- Detecting...

> > > ``` > > > root@test:~# /root/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/root/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DCMAKE_BUILD_TYPE=Debug . > > > -- The C compiler identification is GNU 11.4.0 > > > -- The CXX...

I modified my example to show a case that actually fails to link, rather than "merely" showing a case where VCPKG picks the wrong library (non-debug) in Debug configuration (because...

Neumann-A on Discord recommended we do a "--trace-expand" to find out why the toolchain file is not used by CMake on your system.