Skip to content

🧑‍🌾 vcpkg CMake warnings in gz-plugin1-windows #157

@Crola1702

Description

@Crola1702

Environment

  • OS Version: Windows
  • Source gz-plugin1-windows

Description

  • Expected behavior: Build should be clean of issues
  • Actual behavior: Build is showing 5 cmake warnings

Output

Reference build:

Warnings:

vcpkg_cmake_configure.cmake:487
CMake Warning at installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:487 (message):
  The following variables are not used in CMakeLists.txt:

      CMAKE_DEBUG_POSTFIX

  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/libraw/portfile.cmake:32 (vcpkg_cmake_configure)
  scripts/ports.cmake:145 (include)
vcpkg_buildpath_length_warning.cmake:18
CMake Warning at scripts/cmake/vcpkg_buildpath_length_warning.cmake:18 (message):
  qt5-quickcontrols2's buildsystem uses very long paths and may fail on your
  system.

  We recommend moving vcpkg to a short path such as 'C:\src\vcpkg' or using
  the subst command.
Call Stack (most recent call first):
  installed/x64-windows/share/qt5/qt_download_submodule.cmake:13 (vcpkg_buildpath_length_warning)
  installed/x64-windows/share/qt5/qt_submodule_installation.cmake:5 (qt_download_submodule)
  ports/qt5-quickcontrols2/portfile.cmake:2 (qt_submodule_installation)
  scripts/ports.cmake:145 (include)
vcpkg_configure_cmake.cmake:410
CMake Warning at installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:487 (message):
  The following variables are not used in CMakeLists.txt:

      OGRE_BUILD_RENDERSYSTEM_GLES

  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/ogre/portfile.cmake:47 (vcpkg_cmake_configure)
  scripts/ports.cmake:145 (include)

ports.cmake:75
CMake Deprecation Warning at scripts/ports.cmake:75 (message):
  vcpkg_apply_patches has been deprecated in favor of the `PATCHES` argument
  to `vcpkg_from_*`.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_apply_patches.cmake:18 (z_vcpkg_deprecation_message)
  osrf_vcpkg_ports/ogre2/portfile.cmake:18 (vcpkg_apply_patches)
  scripts/ports.cmake:145 (include)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions