Skip to content

Commit

Permalink
More make/GNUMake protection.
Browse files Browse the repository at this point in the history
Use `CMAKE_BUILD_TOOL` instead of `make`.
  • Loading branch information
ke6jjj authored Feb 23, 2021
1 parent 1aa9576 commit 6a24194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c_src/cmake/FindJerasure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ ExternalProject_Add(jerasure
CC=${CMAKE_C_COMPILER}
"CFLAGS=-I${CMAKE_CURRENT_BINARY_DIR}/include ${CMAKE_C_FLAGS_${BUILD_TYPE_UC}}"
LDFLAGS=-L${CMAKE_CURRENT_BINARY_DIR}/lib
BUILD_COMMAND make -j
BUILD_COMMAND ${CMAKE_BUILD_TOOL} -j
BUILD_BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/lib/libJerasure.a
INSTALL_COMMAND make install
INSTALL_COMMAND ${CMAKE_BUILD_TOOL} install
)
ExternalProject_Add_StepDependencies(jerasure build gf-complete)

Expand Down

0 comments on commit 6a24194

Please sign in to comment.