Commit ddf8dbf5 authored by Nikita Sirgienko's avatar Nikita Sirgienko

Fix build with Discount (markdown support) after 4723d4c3

parent 11cddacf
......@@ -61,6 +61,8 @@ include(ECMAddAppIcon)
include(GenerateExportHeader)
add_subdirectory(thirdparty)
# Need to set this here, because variable can't move from subdirectory (thirdparty) to upper cmake scope
set(Discount_FOUND TRUE)
if(NOT WIN32)
set_package_properties(LibSpectre PROPERTIES DESCRIPTION "A PostScript rendering library"
......
......@@ -27,7 +27,6 @@ set_target_properties(Discount::Lib PROPERTIES
POSITION_INDEPENDENT_CODE ON
)
add_dependencies(Discount::Lib discount_project-build)
set(Discount_FOUND TRUE)
# preview.sty
install(FILES standalone.cls DESTINATION ${KDE_INSTALL_DATADIR}/cantor/latex)
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