find iniparser.h when installed in subdirectory

This commit is contained in:
Enno Rehling 2021-02-13 14:46:10 +01:00
parent fb3047beb5
commit f78d667258
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ This module will set the following variables if found:
#]=======================================================================]
# Look for the necessary header
find_path(IniParser_INCLUDE_DIR iniparser.h)
find_path(IniParser_INCLUDE_DIR iniparser.h PATH_SUFFIXES iniparser)
mark_as_advanced(IniParser_INCLUDE_DIR)
# Look for the necessary library