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
Describe the bug vcpkg install issues cmake configuration warning
Expected behavior
..
Reproduction steps
╰─ vcpkg install catch2 --triplet x64-linux --clean-buildtrees-after-build --clean-packages-after-build ─╯
Computing installation plan...
The following packages will be built and installed:
catch2:x64-linux@3.13.0#1
Detecting compiler hash for triplet x64-linux...
Compiler found: /usr/bin/c++
Restored 0 package(s) from /home/wang/.cache/vcpkg/archives in 8.24 us. Use --debug to see more details.
Installing 1/1 catch2:x64-linux@3.13.0#1...
Building catch2:x64-linux@3.13.0#1...
-- Using cached catchorg-Catch2-v3.13.0.tar.gz
-- Cleaning sources at /home/wang/git-repositories/vcpkg/buildtrees/catch2/src/v3.13.0-981ec6066a.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/wang/git-repositories/vcpkg/downloads/catchorg-Catch2-v3.13.0.tar.gz
-- Applying patch fix-install-path.patch
-- Using source at /home/wang/git-repositories/vcpkg/buildtrees/catch2/src/v3.13.0-981ec6066a.clean
-- Configuring x64-linux
CMake Warning at installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:344 (message):
The following variables are not used in CMakeLists.txt:
CATCH_CONFIG_EXPERIMENTAL_THREAD_SAFE_ASSERTIONS
Please recheck them and remove the unnecessary options from the
`vcpkg_cmake_configure` call.
If these options should still be passed for whatever reason, please use the
`MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
ports/catch2/portfile.cmake:20 (vcpkg_cmake_configure)
scripts/ports.cmake:206 (include)
Platform information:
OS:
uname -a
Linux wang-VMware-Virtual-Platform 6.14.0-34-generic Approx fails to compile #34~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 23 15:35:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Compiler+version:
gcc --version
gcc (GCC) 15.1.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Describe the bug
vcpkg installissues cmake configuration warningExpected behavior
..
Reproduction steps
Platform information:
uname -a
Linux wang-VMware-Virtual-Platform 6.14.0-34-generic Approx fails to compile #34~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 23 15:35:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
gcc --version
gcc (GCC) 15.1.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Additional context