FindImageMagick: Provide per-component _LIBRARIES variable
The `ImageMagick_<component>_LIBRARIES` result variable has long been documented but was not actually provided. Implement it, and document the version that really adds it.
This commit is contained in:
parent
38884c1908
commit
9c30469af5
@ -93,6 +93,8 @@ Result Variables
|
||||
Compile options of <component>.
|
||||
|
||||
``ImageMagick_<component>_LIBRARIES``
|
||||
.. versionadded:: 3.31
|
||||
|
||||
Full path to <component> libraries.
|
||||
|
||||
|
||||
@ -168,6 +170,12 @@ function(FIND_IMAGEMAGICK_API component header)
|
||||
set(ImageMagick_${component}_INCLUDE_DIRS
|
||||
${ImageMagick_${component}_INCLUDE_DIRS} PARENT_SCOPE)
|
||||
|
||||
set(ImageMagick_${component}_LIBRARIES
|
||||
${ImageMagick_${component}_LIBRARY}
|
||||
)
|
||||
set(ImageMagick_${component}_LIBRARIES
|
||||
${ImageMagick_${component}_LIBRARIES} PARENT_SCOPE)
|
||||
|
||||
set(ImageMagick_${component}_COMPILE_OPTIONS ${PC_${component}_CFLAGS_OTHER})
|
||||
|
||||
# Add the per-component include directories to the full include dirs.
|
||||
|
Loading…
Reference in New Issue
Block a user