Skip to content

Commit

Permalink
build(cmake): find yaml-cpp debug lib on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Apr 1, 2024
1 parent 76a0a16 commit 1f3bf35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindYamlCpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (YamlCpp_STATIC)
set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
endif (WIN32)
endif (YamlCpp_STATIC)
find_library(YamlCpp_LIBRARY NAMES libyaml-cppmt libyaml-cppmtd yaml-cpp)
find_library(YamlCpp_LIBRARY NAMES libyaml-cppmt libyaml-cppmtd yaml-cpp yaml-cppd)

if(YamlCpp_INCLUDE_PATH AND YamlCpp_LIBRARY)
set(YamlCpp_FOUND TRUE)
Expand Down

0 comments on commit 1f3bf35

Please sign in to comment.