mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
FindJasper: Add JASPER_INCLUDE_DIRS result variable
The `JASPER_INCLUDE_DIR` cache entry is not supposed to be the public result variable.
This commit is contained in:
@@ -14,7 +14,9 @@ This module defines the following variables:
|
||||
|
||||
``JASPER_FOUND``
|
||||
system has Jasper
|
||||
``JASPER_INCLUDE_DIR``
|
||||
``JASPER_INCLUDE_DIRS``
|
||||
.. versionadded:: 3.22
|
||||
|
||||
the Jasper include directory
|
||||
``JASPER_LIBRARIES``
|
||||
the libraries needed to use Jasper
|
||||
@@ -57,4 +59,5 @@ find_package_handle_standard_args(Jasper
|
||||
|
||||
if(JASPER_FOUND)
|
||||
set(JASPER_LIBRARIES ${JASPER_LIBRARIES} ${JPEG_LIBRARIES})
|
||||
set(JASPER_INCLUDE_DIRS ${JASPER_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user