diff options
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.cmake b/configure.cmake index 25cc6f5cb52..7037e3eab37 100644 --- a/configure.cmake +++ b/configure.cmake @@ -285,11 +285,11 @@ IF(UNIX) MY_SEARCH_LIBS(__infinity m LIBM) ENDIF() - IF(CMAKE_SYSTEM_NAME MATCHES "SunOS")
- # On Solaris, use of intrinsics will screw the lib search logic
- # Force using -lm, so rint etc are found.
- SET(LIBM m)
- ENDIF()
+ IF(CMAKE_SYSTEM_NAME MATCHES "SunOS") + # On Solaris, use of intrinsics will screw the lib search logic + # Force using -lm, so rint etc are found. + SET(LIBM m) + ENDIF() MY_SEARCH_LIBS(gethostbyname_r "nsl_r;nsl" LIBNSL) MY_SEARCH_LIBS(bind "bind;socket" LIBBIND) |