Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Storz <philipp.storz@bareos.com>2018-01-08 17:52:27 +0300
committerPhilipp Storz <philipp.storz@bareos.com>2018-01-08 17:52:33 +0300
commit13b19b01ead699cebe21d9f9412ebda0aab65d9d (patch)
tree74fa4da22c582368358f10fe273c826be4a9d68e /CMakeLists.txt
parent415b31361323fc6027a5c1d256daa1d5e16174bc (diff)
link libraries for Solaris
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 731841d98..184b779c5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,6 +59,11 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(HAVE_LINUX_OS 1)
endif()
+if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
+ set(HAVE_SUN_OS 1)
+ link_libraries(nsl socket curses)
+endif()
+
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set(HAVE_FREEBSD_OS 1)
include_directories(/usr/local/include)