From f78d6672589c85d4dd843f6f2d9492b51804a5eb Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 13 Feb 2021 14:46:10 +0100 Subject: [PATCH] find iniparser.h when installed in subdirectory --- cmake/Modules/FindIniParser.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindIniParser.cmake b/cmake/Modules/FindIniParser.cmake index 0f976429d..7c390fbc8 100644 --- a/cmake/Modules/FindIniParser.cmake +++ b/cmake/Modules/FindIniParser.cmake @@ -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