Update cmake

Based on obs-plugintemplate@68e9fcd
This commit is contained in:
WarmUpTill
2024-02-03 21:44:51 +01:00
committed by WarmUpTill
parent 77eb5ed286
commit 8e7955984e
43 changed files with 2234 additions and 646 deletions

View File

@@ -29,6 +29,9 @@ if(Leptonica_FOUND AND Tesseract_FOUND)
${Leptonica_LIBRARIES})
target_include_directories(${PROJECT_NAME} PRIVATE ${Tesseract_INCLUDE_DIRS}
${Leptonica_INCLUDE_DIRS})
if(OS_WINDOWS)
set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "/ignore:4099")
endif()
else()
message(
WARNING "OCR capabilities of video condition disabled!\n"