David, > > Try setting CMAKE_REQUIRED_LIBRARIES to kernel32 (or maybe kernel32.lib?) > > before checking for Sleep. > > > > SET(CMAKE_REQUIRED_LIBRARIES "kernel32") > > > > CHECK_FUNCTION_EXISTS(Sleep HAVE_SLEEP) > > > > Does that work? > > No, it sure doesn't.
Just wondering if I am using this wrong or if it is a bug? Thanks, George. _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
