could not find library

alice 21 Reputation points

I have a cmake project from existing code. spdlog
When I build it with visual studio, it show could not find fmt (library).
How can I import library

I search some example, but it seem to use cpp not the cmake. So I cant find the interface

Does it use another method to search library for cmake project?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
32,746 questions
{count} votes

1 answer

Sort by: Most helpful
  1. alice 21 Reputation points

    Ok, thanks.

    Could you give the method that play visual studio?

    clone repository project with visual studio.

    the project have cmakelist.
    the project depend on other library
    I already build the library and named xxx.lib

    how to let visual studio to find the lib

    0 comments No comments