Commit 9d7e556e authored by Isabella Muerte's avatar Isabella Muerte Committed by Jesse Beder
Browse files

Fix `DEBUG_POSTFIX` property (#746)

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

This should fix #745
parent 62ff3514
...@@ -117,7 +117,7 @@ set_target_properties(yaml-cpp PROPERTIES ...@@ -117,7 +117,7 @@ set_target_properties(yaml-cpp PROPERTIES
VERSION "${PROJECT_VERSION}" VERSION "${PROJECT_VERSION}"
SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}" SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}"
PROJECT_LABEL "yaml-cpp $<IF:${build-shared},shared,static>" 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( configure_package_config_file(
"${PROJECT_SOURCE_DIR}/yaml-cpp-config.cmake.in" "${PROJECT_SOURCE_DIR}/yaml-cpp-config.cmake.in"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment