Skip to content

Commit 74bc9ac

Browse files
committed
Change build command from make to cmake.
Use CMake instead of Make for the build step so that it is independent of the generator (Makefile, Ninja etc.) and is consistent across all operating systems.
1 parent 7e59ea5 commit 74bc9ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ mkdir -p SITK
6565
exit 1
6666

6767
echo "Parallel build using -j${MAKEJ}"
68-
make -j${MAKEJ} SimpleITK-build && \
68+
cmake --build . --target SimpleITK-build -- -j${MAKEJ} && \
6969
rm -rf ITK-build &&
7070
# Use R to do the move to avoid system specific issues.
7171
${RCALL} -f ${PKGBASED}/sitkmove.R --args SimpleITK-build/Wrapping/R/Packaging/SimpleITK/ ${PKGBASED} ||

0 commit comments

Comments
 (0)