diff --git a/cmake/duktapeConfig.cmake b/cmake/duktapeConfig.cmake index 34ef8b5232..f75cf3400b 100644 --- a/cmake/duktapeConfig.cmake +++ b/cmake/duktapeConfig.cmake @@ -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}