Skip to content

Commit

Permalink
try to fix build of native/cmake
Browse files Browse the repository at this point in the history
- use BUILD_DEPENDS instead of DEPENDS to build native/cmake first
  • Loading branch information
hgy59 committed Jun 13, 2021
1 parent 2a8b24a commit b414c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/spksrc.cross-cmake-env.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CMAKE_ARGS += -DBUILD_SHARED_LIBS=ON

# Use native cmake
ifeq ($(strip $(USE_NATIVE_CMAKE)),1)
DEPENDS += native/cmake
BUILD_DEPENDS += native/cmake
CMAKE_PATH = $(realpath $(WORK_DIR)/../../../native/cmake/work-native/install/usr/local/bin)
ENV += PATH=$(CMAKE_PATH):$$PATH
endif
Expand Down

0 comments on commit b414c3e

Please sign in to comment.