Commit 31748967 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: Port away from ECMSetupVersion's deprecated *_VERSION_STRING CMake variable

parent 43e88fbb
Pipeline #60539 passed with stage
in 52 minutes and 46 seconds
......@@ -161,10 +161,10 @@ set_package_properties("discount" PROPERTIES
PURPOSE "Generate Markdown file.")
if(discount_FOUND)
if (${PC_LIBMARKDOWN_VERSION_STRING})
if (${PC_LIBMARKDOWN_VERSION_STRING} VERSION_GREATER "2.2.5")
if (${PC_LIBMARKDOWN_VERSION})
if (${PC_LIBMARKDOWN_VERSION} VERSION_GREATER "2.2.5")
set(DISCOUNT_HAS_HIGHLIGHTING_SUPPORT TRUE)
MESSAGE(STATUS "Discount ${PC_LIBMARKDOWN_VERSION_STRING}: has hightlighting support")
MESSAGE(STATUS "Discount ${PC_LIBMARKDOWN_VERSION}: has hightlighting support")
endif()
endif()
endif()
......
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