From 085666b6340655904484aff83c1db28c83a37067 Mon Sep 17 00:00:00 2001 From: "Kirill A. Korinsky" Date: Fri, 26 Nov 2021 10:04:47 +0100 Subject: [PATCH] Migrate hardcoded `make` to `${CMAKE_MAKE_PROGRAM}` --- deps/yara/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/yara/CMakeLists.txt b/deps/yara/CMakeLists.txt index 027494367..6ddba2093 100644 --- a/deps/yara/CMakeLists.txt +++ b/deps/yara/CMakeLists.txt @@ -40,8 +40,8 @@ if(MSVC) set(YARAC_PATH ${YARA_WIN_DIR}/${MSVC_CONFIG}/${YARAC_NAME}) else() set(YARA_LIBRARY_DIR ${YARA_DIR}/libyara/.libs) - set(YARA_CLEAN_COMMAND make clean) - set(YARA_BUILD_COMMAND make -j${CPUS}) + set(YARA_CLEAN_COMMAND ${CMAKE_MAKE_PROGRAM} clean) + set(YARA_BUILD_COMMAND ${CMAKE_MAKE_PROGRAM} -j${CPUS}) set(YARAC_PATH ${YARA_DIR}/yarac) endif()