diff options
author | Hiroshi Miura <miurahr@linux.com> | 2021-10-06 00:39:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-06 15:20:54 (GMT) |
commit | bdbce845cd714a1e844976e4cba4734932e89dd5 (patch) | |
tree | 5c9db3c56fc0d2e6dbcb5c93b92581d333955cf9 /Modules/FindJasper.cmake | |
parent | 7f8413c3093220cd26e6196e473cdff00754f7e8 (diff) | |
download | CMake-bdbce845cd714a1e844976e4cba4734932e89dd5.zip CMake-bdbce845cd714a1e844976e4cba4734932e89dd5.tar.gz CMake-bdbce845cd714a1e844976e4cba4734932e89dd5.tar.bz2 |
FindJasper: Add JASPER_INCLUDE_DIRS result variable
The `JASPER_INCLUDE_DIR` cache entry is not supposed to be the public
result variable.
Diffstat (limited to 'Modules/FindJasper.cmake')
-rw-r--r-- | Modules/FindJasper.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindJasper.cmake b/Modules/FindJasper.cmake index 5eb96e4..0ca0f31 100644 --- a/Modules/FindJasper.cmake +++ b/Modules/FindJasper.cmake @@ -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() |