🐛 Fix DEBUG_POSTFIX property

The generator expressions here are actually unnecessary, now that I think about it.

This should fix #745
This commit is contained in:
Isabella Muerte 2019-09-27 10:15:17 -07:00 committed by GitHub
parent 62ff351432
commit bdba703505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ set_target_properties(yaml-cpp PROPERTIES
VERSION "${PROJECT_VERSION}"
SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}"
PROJECT_LABEL "yaml-cpp $<IF:${build-shared},shared,static>"
DEBUG_POSTFIX $<$<AND:$<NOT:${build-shared}>,$<CONFIG:Debug>>:d>)
DEBUG_POSTFIX d)
configure_package_config_file(
"${PROJECT_SOURCE_DIR}/yaml-cpp-config.cmake.in"