Include Leptonica's headers in source files list

I'm not sure whether it's needed, but original Leptonica's CMakeListst.txt uses that, so I'm adding it here too.
This commit is contained in:
Robert Pösel 2019-01-28 12:58:07 +01:00
parent bdfe5e7f11
commit f78c8db0bd

View File

@ -15,6 +15,7 @@ set(JPEG_PATH "../libjpeg/src/")
set(PNG_PATH "../libpng/src/")
file(GLOB leptonica_src "${LEPT_PATH}*.c")
file(GLOB leptonica_hdr "${LEPT_PATH}*.h")
add_library( # Sets the name of the library.
leptonica
@ -24,6 +25,7 @@ add_library( # Sets the name of the library.
# Provides a relative path to your source file(s).
${leptonica_src}
${leptonica_hdr}
)
# Specifies a path to native header files.