summaryrefslogtreecommitdiffstats
path: root/src/portmidi.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/portmidi.mk')
-rw-r--r--src/portmidi.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/portmidi.mk b/src/portmidi.mk
index 7a1635a..40b2a39 100644
--- a/src/portmidi.mk
+++ b/src/portmidi.mk
@@ -19,8 +19,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)' portmidi-$(if $(BUILD_STATIC),static,dynamic)