Message ID | 20160928171640.10224-1-f.fainelli@gmail.com |
---|---|
State | Accepted |
Headers | show |
On 09/28/2016 10:16 AM, Florian Fainelli wrote: > Commit 46063a1657c4 ("cmake: Find uci.h") introduced a check against libubus.h > but mountd actually uses uci.h, so fix that. > > Fixes: 46063a1657c4 ("cmake: Find uci.h") > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Forgot to put it in the subject, this is for mountd.
diff --git a/CMakeLists.txt b/CMakeLists.txt index b37d26c2e737..79aa852355f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,8 +3,8 @@ cmake_minimum_required(VERSION 2.6) PROJECT(mountd C) ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations) -FIND_PATH(ubus_include_dir libubus.h) -INCLUDE_DIRECTORIES(${ubus_include_dir}) +FIND_PATH(uci_include_dir uci.h) +INCLUDE_DIRECTORIES(${uci_include_dir}) SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
Commit 46063a1657c4 ("cmake: Find uci.h") introduced a check against libubus.h but mountd actually uses uci.h, so fix that. Fixes: 46063a1657c4 ("cmake: Find uci.h") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)