At 12:06 PM 1/14/2006, Alexander Neundorf wrote:
>Hi,
>
>I want to check for a function which isn't part of libc, but of libutil.
>I tried this:
>
>INCLUDE(CheckFunctionExists)
>SET(CMAKE_REQUIRED_LIBRARIES util)
>CHECK_FUNCTION_EXISTS(openpty "" HAVE_OPENPTY)
>#SET(CMAKE_REQUIRED_LIBRARIES
Alexander Neundorf wrote:
I want to check for a function which isn't part of libc, but of libutil.
I tried this:
INCLUDE(CheckFunctionExists)
SET(CMAKE_REQUIRED_LIBRARIES util)
CHECK_FUNCTION_EXISTS(openpty "" HAVE_OPENPTY)
#SET(CMAKE_REQUIRED_LIBRARIES) # should I reset it here again ?
ME
Hi,
I want to check for a function which isn't part of libc, but of libutil.
I tried this:
INCLUDE(CheckFunctionExists)
SET(CMAKE_REQUIRED_LIBRARIES util)
CHECK_FUNCTION_EXISTS(openpty "" HAVE_OPENPTY)
#SET(CMAKE_REQUIRED_LIBRARIES) # should I reset it here again ?
MESSAGE(STATUS "have_o