Re: [CMake] check_function_exists frailty

2011-01-19 Thread Eric Noulard
2011/1/19 Jack Poulson jack.poul...@gmail.com: I have no idea why this would occur, but with CMake 2.8.2 on x86_64 I'm getting strange behavior with check_function_exists. Namely, if I perform the sequence set(CMAKE_REQUIRED_LIBRARIES ${MATH_LIBS}) check_function_exists(daxpy HAVE_DAXPY)

Re: [CMake] check_function_exists frailty

2011-01-19 Thread Jack Poulson
On Wed, Jan 19, 2011 at 3:27 AM, Eric Noulard eric.noul...@gmail.comwrote: 2011/1/19 Jack Poulson jack.poul...@gmail.com: I have no idea why this would occur, but with CMake 2.8.2 on x86_64 I'm getting strange behavior with check_function_exists. Namely, if I perform the sequence

[CMake] check_function_exists frailty

2011-01-18 Thread Jack Poulson
I have no idea why this would occur, but with CMake 2.8.2 on x86_64 I'm getting strange behavior with check_function_exists. Namely, if I perform the sequence set(CMAKE_REQUIRED_LIBRARIES ${MATH_LIBS}) check_function_exists(daxpy HAVE_DAXPY) whether or not /usr/lib/libpthread.a or