Portability

- Fixed cmake issues on NetBSD (thanks to atomicules).
This commit is contained in:
Paul Beckingham 2014-04-15 20:55:26 -04:00
parent d0ebf4c354
commit 3d79abb106
3 changed files with 8 additions and 1 deletions

View file

@ -29,6 +29,12 @@ else (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set (UNKNOWN true)
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if (NETBSD)
#Since readline, etc likely to be in /usr/pkg/lib, not standard library
#Otherwise will remove links during install
set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
endif (NETBSD)
if (FREEBSD)
SET (TASK_MAN1DIR man/man1 CACHE STRING "Installation directory for man pages, section 1")
SET (TASK_MAN5DIR man/man5 CACHE STRING "Installation directory for man pages, section 5")