Skip to content

[glbinding] Fix CMake warnings #27418

@KivApple

Description

@KivApple

Library name: glbinding

CMake Warning at scripts/cmake/vcpkg_configure_cmake.cmake:378 (message):
  The following variables are not used in CMakeLists.txt:

      CMAKE_DISABLE_FIND_PACKAGE_cpplocate
      OPTION_BUILD_GPU_TESTS

  Please recheck them and remove the unnecessary options from the
  `vcpkg_configure_cmake` 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/glbinding/portfile.cmake:14 (vcpkg_configure_cmake)
  scripts/ports.cmake:147 (include)

Port passes two variables (CMAKE_DISABLE_FIND_PACKAGE_cpplocate and OPTION_BUILD_GPU_TESTS) which is not used anymore by glbinding library and produces a warning. I suppose these variables should be removed from the port.

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions