Project

General

Profile

Actions

Emulator Issues #12311

open

CMake warnings during configuration

Added by VIRTUALDOG over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What's the problem? Describe what went wrong.

The following warning appears during configuration:

CMake Warning at CMakeLists.txt:548 (find_package):
  By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "fmt", but
  CMake did not find one.

  Could not find a package configuration file provided by "fmt" (requested
  version 7.0) with any of the following names:

    fmtConfig.cmake
    fmt-config.cmake

  Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
  to a directory containing one of the above files.  If "fmt" provides a
  separate development package or SDK, be sure it has been installed.

but a missing fmt appears to be handled gracefully by CMakeLists. Spurious warnings during configuration are noisy and may lead developers to either think something has gone wrong, or to ignore genuine warnings.

this particular warning could be eliminated by adding a stub Findfmt.cmake to ./CMake/ in the project.

What steps will reproduce the problem?

CMake configuration.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

[bheim@mandible dolphin]$ git describe
5.0-12946-g35a113f6a2

Is the issue present in the latest stable version?

No idea

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

N/A

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

N/A

What are your PC specifications? (CPU, GPU, Operating System, more)

Arch Linux, CMake 3.18.4, fmt is not installed

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

N/A

No data to display

Actions

Also available in: Atom PDF