summaryrefslogtreecommitdiffstats
path: root/src/lensfun.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/lensfun.mk')
-rw-r--r--src/lensfun.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lensfun.mk b/src/lensfun.mk
index bf945b1..f82b991 100644
--- a/src/lensfun.mk
+++ b/src/lensfun.mk
@@ -19,8 +19,7 @@ endef
define $(PKG)_BUILD
mkdir '$(1)/building'
- cd '$(1)/building' && cmake .. \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
+ cd '$(1)/building' && '$(TARGET)-cmake' .. \
-DBUILD_STATIC=$(if $(BUILD_STATIC),TRUE,FALSE) \
-DINSTALL_IN_TREE=NO
$(MAKE) -C '$(1)/building' -j '$(JOBS)' install VERBOSE=1