fix(build): Typo

This commit is contained in:
Michael Carlberg 2016-05-24 04:24:59 +02:00
parent e93e3ddcbc
commit 5418996b85

View File

@ -120,17 +120,17 @@ if(ENABLE_I3)
if(NOT I3_EXECUTABLE) if(NOT I3_EXECUTABLE)
# graceful fail # graceful fail
message(WARNING "Disabling i3 support since executable was not found") message(WARNING "Disabling i3 support since executable was not found")
set(ENABLE_ALSA OFF) set(ENABLE_I3 OFF)
endif() endif()
endif() endif()
if(ENABLE_MPD) if(ENABLE_MPD)
find_package("LibMPDClient") find_package("LibMPDClient")
if(LibMPDClient_FOUND) if(LIBMPDCLIENT_FOUND)
include_directories(${LIBMPDCLIENT_INCLUDE_DIRS}) include_directories(${LIBMPDCLIENT_INCLUDE_DIRS})
link_directories(${LIBMPDCLIENT_LIBRARY_DIRS}) link_directories(${LIBMPDCLIENT_LIBRARY_DIRS})
set(LINK_LIBS ${LINK_LIBS} ${LIBMPDCLIENT_LIBRARY}) set(LINK_LIBS ${LINK_LIBS} ${LIBMPDCLIENT_LIBRARY})
else(LibMPDClient_FOUND) else(LIBMPDCLIENT_FOUND)
# graceful fail # graceful fail
message(WARNING "Disabling mpd since required package wasn't found") message(WARNING "Disabling mpd since required package wasn't found")
set(ENABLE_MPD OFF) set(ENABLE_MPD OFF)
@ -139,11 +139,10 @@ endif()
if(ENABLE_NETWORK) if(ENABLE_NETWORK)
find_package("Libiw") find_package("Libiw")
if(LibMPDClient_FOUND) if(LIBIW_FOUND)
include_directories(${LIBMPDCLIENT_INCLUDE_DIRS}) include_directories(${LIBIW_INCLUDE_DIR})
link_directories(${LIBMPDCLIENT_LIBRARY_DIRS}) set(LINK_LIBS ${LINK_LIBS} ${LIBIW_LIBRARY})
set(LINK_LIBS ${LINK_LIBS} ${LIBMPDCLIENT_LIBRARY}) else(LIBIW_FOUND)
else(Libiw_FOUND)
# graceful fail # graceful fail
message(WARNING "Disabling network support since required library wasn't found") message(WARNING "Disabling network support since required library wasn't found")
set(ENABLE_NETWORK OFF) set(ENABLE_NETWORK OFF)