From bdbce845cd714a1e844976e4cba4734932e89dd5 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Wed, 6 Oct 2021 09:39:02 +0900 Subject: FindJasper: Add JASPER_INCLUDE_DIRS result variable The `JASPER_INCLUDE_DIR` cache entry is not supposed to be the public result variable. --- Modules/FindJasper.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Modules') diff --git a/Modules/FindJasper.cmake b/Modules/FindJasper.cmake index 5eb96e4c0c..0ca0f3197c 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() -- cgit v1.2.1