Closed autoantwort closed 1 year ago
Probably broken by #4492? We no longer test build vcpkg in CI due to disk space limitations and oddities occurring in vcpkg dependency install (removed in #4425) so it’s not surprising this broke.
Probably. WITH_FLAT_INSTALL
seems to be broken on all platforms, but WITH_FLAT_INSTALL
is force enables on MSVC.
With the main branch on macOS
Describe the bug When I try to install the project on windows it fails to install
To Reproduce Steps to reproduce the behavior:
./vcpkg install wpilib
Package: wpilib:x64-windows -> 2023-08-05
Host Environment
Failure logs
Failure logs
``` [1/2] "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir ".." "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Users/LeanderSchulten/git_projects/vcpkg/packages/wpilib_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_CSCORE=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DWITH_WPILIB=OFF" "-DPKG_CONFIG_EXECUTABLE=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DWITH_JAVA=OFF" "-DWITH_EXAMPLES=OFF" "-DWITH_TESTS=OFF" "-DWITH_GUI=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DUSE_SYSTEM_FMTLIB=ON" "-DUSE_SYSTEM_LIBUV=ON" "-DUSE_SYSTEM_EIGEN=ON" "-DCMAKE_MAKE_PROGRAM=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" FAILED: ../CMakeCache.txt "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir ".." "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Users/LeanderSchulten/git_projects/vcpkg/packages/wpilib_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_CSCORE=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DWITH_WPILIB=OFF" "-DPKG_CONFIG_EXECUTABLE=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DWITH_JAVA=OFF" "-DWITH_EXAMPLES=OFF" "-DWITH_TESTS=OFF" "-DWITH_GUI=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DUSE_SYSTEM_FMTLIB=ON" "-DUSE_SYSTEM_LIBUV=ON" "-DUSE_SYSTEM_EIGEN=ON" "-DCMAKE_MAKE_PROGRAM=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" -- The C compiler identification is MSVC 19.36.32537.0 -- The CXX compiler identification is MSVC 19.36.32537.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Platform version: 10.0.18362.0 -- Could NOT find LIBSSH (missing: LIBSSH_INCLUDE_DIRS LIBSSH_LIBRARIES) (Required is at least version "0.7.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Error at wpiutil/CMakeLists.txt:187 (install): install FILES given no DESTINATION! CMake Error at wpiutil/CMakeLists.txt:188 (install): install EXPORT given no DESTINATION! CMake Error at wpinet/CMakeLists.txt:187 (install): install FILES given no DESTINATION! CMake Error at wpinet/CMakeLists.txt:188 (install): install EXPORT given no DESTINATION! CMake Error at ntcore/CMakeLists.txt:47 (install): install FILES given no DESTINATION! CMake Error at ntcore/CMakeLists.txt:48 (install): install EXPORT given no DESTINATION! CMake Error at wpimath/CMakeLists.txt:142 (install): install FILES given no DESTINATION! CMake Error at wpimath/CMakeLists.txt:143 (install): install EXPORT given no DESTINATION! CMake Error at CMakeLists.txt:332 (install): install FILES given no DESTINATION! -- Configuring incomplete, errors occurred! See also "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-rel/CMakeFiles/CMakeOutput.log". See also "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-rel/CMakeFiles/CMakeError.log". [2/2] "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/Users/LeanderSchulten/git_projects/vcpkg/packages/wpilib_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_CSCORE=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DWITH_WPILIB=OFF" "-DPKG_CONFIG_EXECUTABLE=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DWITH_JAVA=OFF" "-DWITH_EXAMPLES=OFF" "-DWITH_TESTS=OFF" "-DWITH_GUI=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DUSE_SYSTEM_FMTLIB=ON" "-DUSE_SYSTEM_LIBUV=ON" "-DUSE_SYSTEM_EIGEN=ON" "-DCMAKE_MAKE_PROGRAM=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" FAILED: ../../x64-windows-dbg/CMakeCache.txt "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/Users/LeanderSchulten/git_projects/vcpkg/packages/wpilib_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_CSCORE=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DWITH_WPILIB=OFF" "-DPKG_CONFIG_EXECUTABLE=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DWITH_JAVA=OFF" "-DWITH_EXAMPLES=OFF" "-DWITH_TESTS=OFF" "-DWITH_GUI=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DUSE_SYSTEM_FMTLIB=ON" "-DUSE_SYSTEM_LIBUV=ON" "-DUSE_SYSTEM_EIGEN=ON" "-DCMAKE_MAKE_PROGRAM=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" -- The C compiler identification is MSVC 19.36.32537.0 -- The CXX compiler identification is MSVC 19.36.32537.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Platform version: 10.0.18362.0 -- Could NOT find LIBSSH (missing: LIBSSH_INCLUDE_DIRS LIBSSH_LIBRARIES) (Required is at least version "0.7.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Error at wpiutil/CMakeLists.txt:187 (install): install FILES given no DESTINATION! CMake Error at wpiutil/CMakeLists.txt:188 (install): install EXPORT given no DESTINATION! CMake Error at wpinet/CMakeLists.txt:187 (install): install FILES given no DESTINATION! CMake Error at wpinet/CMakeLists.txt:188 (install): install EXPORT given no DESTINATION! CMake Error at ntcore/CMakeLists.txt:47 (install): install FILES given no DESTINATION! CMake Error at ntcore/CMakeLists.txt:48 (install): install EXPORT given no DESTINATION! CMake Error at wpimath/CMakeLists.txt:142 (install): install FILES given no DESTINATION! CMake Error at wpimath/CMakeLists.txt:143 (install): install EXPORT given no DESTINATION! CMake Error at CMakeLists.txt:332 (install): install FILES given no DESTINATION! -- Configuring incomplete, errors occurred! See also "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg/CMakeFiles/CMakeOutput.log". See also "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg/CMakeFiles/CMakeError.log". ninja: build stopped: subcommand failed. ```C:\Users\LeanderSchulten\git_projects\vcpkg\buildtrees\wpilib\config-x64-windows-dbg-CMakeCache.txt.log
``` # This is the CMakeCache file. # For build in directory: c:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg # It was generated by CMake: C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //Build with shared libs (needed for JNI) BUILD_SHARED_LIBS:BOOL=ON //Path to a program. CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Debug CMAKE_CROSSCOMPILING:STRING=OFF //CXX compiler CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' //Flags used by the C++ compiler for Asan build type or configuration. CMAKE_CXX_FLAGS_ASAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=address -fno-omit-frame-pointer CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' //Flags used by the CXX compiler during MINSIZEREL builds. CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' //Flags used by the CXX compiler during RELWITHDEBINFO builds. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG //Flags used by the C++ compiler for Tsan build type or configuration. CMAKE_CXX_FLAGS_TSAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=thread -fno-omit-frame-pointer //Flags used by the C++ compiler for Ubsan build type or configuration. CMAKE_CXX_FLAGS_UBSAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer //Libraries linked by default with all C++ applications. CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' //Flags used by the C compiler for Asan build type or configuration. CMAKE_C_FLAGS_ASAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=address -fno-omit-frame-pointer CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' //Flags used by the C compiler during MINSIZEREL builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' //Flags used by the C compiler during RELWITHDEBINFO builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG //Flags used by the C compiler for Tsan build type or configuration. CMAKE_C_FLAGS_TSAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=thread -fno-omit-frame-pointer //Flags used by the C compiler for Ubsan build type or configuration. CMAKE_C_FLAGS_UBSAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer //Libraries linked by default with all C applications. CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //No help, variable specified on the command line. CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON //Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64 //Linker flags to be used to create executables for Asan build // type. CMAKE_EXE_LINKER_FLAGS_ASAN:STRING=/nologo /debug /INCREMENTAL -fsanitize=address //Flags used by the linker during DEBUG builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL //Flags used by the linker during MINSIZEREL builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' //Flags used by the linker during RELWITHDEBINFO builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //Linker flags to be used to create executables for Tsan build // type. CMAKE_EXE_LINKER_FLAGS_TSAN:STRING=/nologo /debug /INCREMENTAL -fsanitize=thread //Linker flags to be used to create executables for Ubsan build // type. CMAKE_EXE_LINKER_FLAGS_UBSAN:STRING=/nologo /debug /INCREMENTAL -fsanitize=undefined -fno-sanitize-recover=all //Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= //No help, variable specified on the command line. CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin //No help, variable specified on the command line. CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=C:/Users/LeanderSchulten/git_projects/vcpkg/packages/wpilib_x64-windows/debug //No help, variable specified on the command line. CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/link.exe //No help, variable specified on the command line. CMAKE_MAKE_PROGRAM:UNINITIALIZED=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe //Flags used by the linker during the creation of modules during // all build types. CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during the creation of modules during // DEBUG builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL //Flags used by the linker during the creation of modules during // MINSIZEREL builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO //Flags used by the linker during the creation of modules during // RELEASE builds. CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO //Flags used by the linker during the creation of modules during // RELWITHDEBINFO builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$The problem seems to be that on MSVC
WITH_FLAT_INSTALL
is set to ON butwpilib_dest
to the empty string. As a result theDESTINATION
parameter in the install command is an empty string.