Skip to content

Commit

Permalink
cmake/build.mk: honor BUILD_TARGET
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Jan 25, 2023
1 parent f77acea commit 2b289d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devel/cmake/build.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: build.mk,v 1.6 2023/01/12 19:32:37 markd Exp $
# $NetBSD: build.mk,v 1.7 2023/01/25 16:46:37 wiz Exp $
#
# This Makefile fragment supports building using the CMake build tool.
#
Expand Down Expand Up @@ -84,7 +84,7 @@ cmake-build:
.for d in ${BUILD_DIRS}
${RUN} cd ${WRKSRC}/${d}/${CMAKE_BUILD_DIR} && \
${SETENV} ${MAKE_ENV} \
${_CMAKE_BUILD_TOOL} ${CMAKE_BUILD_ARGS}
${_CMAKE_BUILD_TOOL} ${CMAKE_BUILD_ARGS} ${BUILD_TARGET}
.endfor

do-test: cmake-test
Expand Down

0 comments on commit 2b289d4

Please sign in to comment.