diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-10-11 18:02:01 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-10-11 18:02:01 +0000 |
commit | 528b11ea3d87e64313645fd8820817314682ca28 (patch) | |
tree | 3cfb861152fdda96de02cc0ae777ac5b3c8df43c /vars | |
parent | 87214109a2e045fc9e0c055ad3208129a8cf8aa0 (diff) | |
download | midipix_build-528b11ea3d87e64313645fd8820817314682ca28.tar.bz2 midipix_build-528b11ea3d87e64313645fd8820817314682ca28.tar.xz |
vars/cmake.vars:pkg_cmake_host_configure(): explicitly specify -DCURSES_NCURSES_LIBRARY.
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; }; |