summaryrefslogtreecommitdiffstats
path: root/externals/find-modules/Findinih.cmake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--externals/find-modules/Findinih.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/externals/find-modules/Findinih.cmake b/externals/find-modules/Findinih.cmake
index 8d1a07243..b8d38dcff 100644
--- a/externals/find-modules/Findinih.cmake
+++ b/externals/find-modules/Findinih.cmake
@@ -3,9 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
find_package(PkgConfig QUIET)
-if (PKG_CONFIG_FOUND)
- pkg_search_module(INIREADER QUIET IMPORTED_TARGET INIReader)
-endif()
+pkg_search_module(INIREADER QUIET IMPORTED_TARGET INIReader)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(inih