summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/curses/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt
index 18b77f8f2..a46821427 100644
--- a/src/gui/curses/CMakeLists.txt
+++ b/src/gui/curses/CMakeLists.txt
@@ -73,7 +73,10 @@ list(APPEND EXTRA_LIBS "m")
list(APPEND EXTRA_LIBS ${CURL_LIBRARIES})
-list(APPEND EXTRA_LIBS "resolv")
+if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
+ # link with resolv lib on Mac OS X
+ list(APPEND EXTRA_LIBS "resolv")
+endif()
include_directories(.. ../../core ../../plugins ${NCURSES_INCLUDE_PATH})