From 50aece487bae31012656c8d0db50ca9a85e7d154 Mon Sep 17 00:00:00 2001 From: Ryan Friedman Date: Mon, 24 Jul 2023 16:54:54 +0000 Subject: [PATCH] Add inih_reader_LIBRARY too Signed-off-by: Ryan Friedman (cherry picked from commit 0e836eb50ca1000e905010e39ec546ab6464c7a7) --- cmake/Findinih.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Findinih.cmake b/cmake/Findinih.cmake index cc3ca0d0fa..ad42c1c039 100644 --- a/cmake/Findinih.cmake +++ b/cmake/Findinih.cmake @@ -22,7 +22,7 @@ mark_as_advanced(inih_LIBRARY) mark_as_advanced(inih_inireader_INCLUDE_DIR) mark_as_advanced(inih_inireader_LIBRARY) -find_package_handle_standard_args(inih REQUIRED_VARS inih_LIBRARY inih_INCLUDE_DIR inih_inireader_INCLUDE_DIR) +find_package_handle_standard_args(inih REQUIRED_VARS inih_LIBRARY inih_INCLUDE_DIR inih_inireader_INCLUDE_DIR inih_inireader_LIBRARY) if(NOT inih_FOUND) message(FATAL_ERROR "inih library not found")