diff options
Diffstat (limited to 'src/opencv.mk')
-rw-r--r-- | src/opencv.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/opencv.mk b/src/opencv.mk index 60aa4c9..77f01ec 100644 --- a/src/opencv.mk +++ b/src/opencv.mk @@ -21,14 +21,13 @@ endef define $(PKG)_BUILD # build mkdir '$(1).build' - cd '$(1).build' && cmake \ + cd '$(1).build' && '$(TARGET)-cmake' \ -DWITH_QT=OFF \ -DWITH_OPENGL=ON \ -DWITH_GSTREAMER=OFF \ -DWITH_GTK=OFF \ -DWITH_VIDEOINPUT=ON \ -DWITH_XINE=OFF \ - -DBUILD_SHARED_LIBS=$(if $(BUILD_STATIC),OFF,ON) \ -DBUILD_opencv_apps=OFF \ -DBUILD_DOCS=OFF \ -DBUILD_EXAMPLES=OFF \ @@ -44,7 +43,6 @@ define $(PKG)_BUILD -DBUILD_PNG=OFF \ -DBUILD_OPENEXR=OFF \ -DCMAKE_VERBOSE=ON \ - -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ -DCMAKE_CXX_FLAGS='-D_WIN32_WINNT=0x0500' \ '$(1)' |