Skip to content

Commit

Permalink
Migrate hardcoded make to ${CMAKE_MAKE_PROGRAM}
Browse files Browse the repository at this point in the history
  • Loading branch information
catap authored and Peter Kubov committed Jan 14, 2022
1 parent 3951bfd commit 085666b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/yara/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 085666b

Please sign in to comment.