From ba7c553c66ee9e76792613feb00054eda48b8539 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Tue, 27 Oct 2015 20:59:44 +1100 Subject: mxe-conf: add CMAKE_PREFIX_PATH to toolchain file see #904 --- src/mxe-conf.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mxe-conf.mk b/src/mxe-conf.mk index b1afedf..558d307 100644 --- a/src/mxe-conf.mk +++ b/src/mxe-conf.mk @@ -20,6 +20,7 @@ define $(PKG)_BUILD echo 'set(MSYS 1)'; \ echo 'set(BUILD_SHARED_LIBS $(if $(BUILD_SHARED),ON,OFF))'; \ echo 'set(LIBTYPE $(if $(BUILD_SHARED),SHARED,STATIC))'; \ + echo 'set(CMAKE_PREFIX_PATH $(PREFIX)/$(TARGET))'; \ echo 'set(CMAKE_FIND_ROOT_PATH $(PREFIX)/$(TARGET))'; \ echo 'set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)'; \ echo 'set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)'; \ -- cgit v0.12