Skip to content

Commit

Permalink
Don't invoke make directly; use CMAKE_BUILD_TOOL
Browse files Browse the repository at this point in the history
This project depends on GNUMake, which may not be called `make` on
all systems. Use the more portable `CMAKE_BUILD_TOOL` variable instead.
  • Loading branch information
ke6jjj authored Feb 23, 2021
1 parent 6220931 commit 1aa9576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c_src/cmake/FindGFComplete.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ ExternalProject_Add(gf-complete
$ENV{CONFIGURE_ARGS}
CC=${CMAKE_C_COMPILER}
CFLAGS=${CMAKE_C_FLAGS_${BUILD_TYPE_UC}}
BUILD_COMMAND make -j
BUILD_COMMAND ${CMAKE_BUILD_TOOL} -j
BUILD_BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/lib/libgf_complete.a
INSTALL_COMMAND make install
INSTALL_COMMAND ${CMAKE_BUILD_TOOL} install
)

add_library(GFComplete::GFComplete STATIC IMPORTED)
Expand Down

0 comments on commit 1aa9576

Please sign in to comment.