diff options
Diffstat (limited to 'vars')
-rw-r--r-- | vars/cmake.vars | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vars/cmake.vars b/vars/cmake.vars index ae269b2b..bf211972 100644 --- a/vars/cmake.vars +++ b/vars/cmake.vars @@ -48,6 +48,12 @@ pkg_cmake_install_make_pre() { fi; }; +pkg_cmake_host_configure() { + rm -f config.cache; + cmake -DCURSES_NCURSES_LIBRARY="${PKG_PREFIX}/lib/libncurses.so" \ + "../cmake-${PKG_VERSION}"; +}; + pkg_cmake_host_install_make_pre() { pkg_cmake_install_make_pre; }; |