jbeder / yaml-cpp

A YAML parser and emitter in C++
MIT License
4.92k stars 1.78k forks source link

Issue building with cmake #1184

Closed DavDag closed 1 year ago

DavDag commented 1 year ago

Hi,

i was trying to create a project to compile the build the library but i do receive this error:

CMake Error at CMakeLists.txt:71 (add_library):
  No SOURCES given to target: yaml-cpp

The steps are simple:

  1. download the latest release (0.7.0)
  2. unzip in folder
  3. open cmakegui
  4. toggle tests off
  5. press configure
  6. press generate (error)
image image

Couple infos to share

Operating System: Windows11 Target: x64 CMake version: 3.26.2 (same error with 3.26.0.rc_5) Generator: Visual Studio 17 2022

I'm sorry but after hours of searching, i found no info via StackOverflow or this github page.

jbeder commented 1 year ago

Please ask questions like this on Stack Overflow.

DavDag commented 1 year ago

link to the issue on Stackoverflow for everyone wondering around