Skip to content

Commit

Permalink
Add inih_reader_LIBRARY too
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <ryan.friedman+github@avinc.com>
(cherry picked from commit 0e836eb)
  • Loading branch information
Ryanf55 authored and neheb committed Jul 24, 2023
1 parent 5940292 commit 50aece4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Findinih.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 50aece4

Please sign in to comment.