summaryrefslogtreecommitdiffstats
path: root/src/vidstab.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/vidstab.mk')
-rw-r--r--src/vidstab.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vidstab.mk b/src/vidstab.mk
index bb84c33..3dd95ee 100644
--- a/src/vidstab.mk
+++ b/src/vidstab.mk
@@ -20,8 +20,7 @@ endef
define $(PKG)_BUILD
mkdir '$(1)/build'
- cd '$(1)/build' && cmake .. \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)'
+ cd '$(1)/build' && '$(TARGET)-cmake' ..
$(MAKE) -C '$(1)/build' -j $(JOBS)
$(MAKE) -C '$(1)/build' -j 1 install
@@ -29,4 +28,4 @@ define $(PKG)_BUILD
-W -Wall -Werror -pedantic \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-vidstab.exe' \
`'$(TARGET)-pkg-config' --static --cflags --libs vidstab`
-endef \ No newline at end of file
+endef