mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
feat: Added proper Markdown renderer (#2415)
This commit is contained in:
@@ -866,6 +866,17 @@ macro(addBundledLibraries)
|
||||
set(LUNASVG_LIBRARIES lunasvg::lunasvg)
|
||||
endif()
|
||||
|
||||
if (NOT USE_SYSTEM_MD4C)
|
||||
set(BUILD_MD2HTML_EXECUTABLE OFF CACHE BOOL "Disable md2html executable" FORCE)
|
||||
add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/md4c EXCLUDE_FROM_ALL)
|
||||
add_library(md4c_lib INTERFACE)
|
||||
add_library(md4c::md4c ALIAS md4c_lib)
|
||||
target_include_directories(md4c_lib INTERFACE ${THIRD_PARTY_LIBS_FOLDER}/md4c/src)
|
||||
target_link_libraries(md4c_lib INTERFACE md4c)
|
||||
else()
|
||||
find_package(md4c REQUIRED)
|
||||
endif()
|
||||
|
||||
if (NOT USE_SYSTEM_LLVM)
|
||||
add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/llvm-demangle EXCLUDE_FROM_ALL)
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user