mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-30 23:49:05 +08:00
[cmake] Make pango include dirs public.
This commit is contained in:
parent
9eb52625cd
commit
2c84c4beb2
@ -311,8 +311,8 @@ if (SW_BUILD)
|
|||||||
target_link_libraries (pango_training PUBLIC org.sw.demo.gnome.pango.pangocairo)
|
target_link_libraries (pango_training PUBLIC org.sw.demo.gnome.pango.pangocairo)
|
||||||
else()
|
else()
|
||||||
if (PKG_CONFIG_FOUND)
|
if (PKG_CONFIG_FOUND)
|
||||||
target_include_directories (pango_training BEFORE PRIVATE ${Cairo_INCLUDE_DIRS} ${Pango_INCLUDE_DIRS})
|
target_include_directories (pango_training BEFORE PUBLIC ${Cairo_INCLUDE_DIRS} ${Pango_INCLUDE_DIRS})
|
||||||
target_compile_definitions (pango_training PRIVATE -DPANGO_ENABLE_ENGINE)
|
target_compile_definitions (pango_training PUBLIC -DPANGO_ENABLE_ENGINE)
|
||||||
target_link_libraries (pango_training PUBLIC
|
target_link_libraries (pango_training PUBLIC
|
||||||
${Pango_LIBRARIES}
|
${Pango_LIBRARIES}
|
||||||
${Cairo_LIBRARIES}
|
${Cairo_LIBRARIES}
|
||||||
|
Loading…
Reference in New Issue
Block a user