Remove redundant pkg-config package from duktapeConfig.cmake

This commit is contained in:
Michał Janiszewski 2020-09-27 20:28:05 +02:00
parent 5bb607fc98
commit 92e7677e4b

View file

@ -11,8 +11,7 @@
# DUKTAPE_DEFINITIONS - Compiler switches required for using Duktape
#
find_package(PkgConfig QUIET)
pkg_check_modules(PC_DUK QUIET duktape libduktape)
PKG_CHECK_MODULES(PC_DUK QUIET duktape libduktape)
find_path(DUKTAPE_INCLUDE_DIR duktape.h
HINTS ${PC_DUK_INCLUDEDIR} ${PC_DUK_INCLUDE_DIRS}