diff options
author | Philipp Storz <philipp.storz@bareos.com> | 2018-01-08 17:52:27 +0300 |
---|---|---|
committer | Philipp Storz <philipp.storz@bareos.com> | 2018-01-08 17:52:33 +0300 |
commit | 13b19b01ead699cebe21d9f9412ebda0aab65d9d (patch) | |
tree | 74fa4da22c582368358f10fe273c826be4a9d68e /CMakeLists.txt | |
parent | 415b31361323fc6027a5c1d256daa1d5e16174bc (diff) |
link libraries for Solaris
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
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) |