Commit Graph

5 Commits

Author SHA1 Message Date
Andy Cedilnik 4e66ef8fe1 New design of CheckSymbolExists pretty much replaces all other ones.
For example:

CHECK_HEADER_EXISTS("type.h" HAVE_TYPE_H)
is:
CHECK_SYMBOL_EXISTS(main "type.h" HAVE_TYPE_H)

CHECK_LIBRARY_EXISTS("nsl"    gethostname  HAVE_LIBNSL)
would be
SET(CMAKE_REQUIRED_LIBRARIES "nsl")
CHECK_SYMBOL_EXISTS(gethostname "netdb.h" HAVE_LIBNSL)

...
2003-03-28 13:42:34 -05:00
Andy Cedilnik 4a2d04f42a Prevent CMake from putting ; in the file 2003-03-16 20:33:51 -05:00
Andy Cedilnik e71b03cbf0 Fix update date and cleanup 2003-02-28 12:42:50 -05:00
Andy Cedilnik 9ca8035fc6 Fix return value problem 2003-02-17 10:30:13 -05:00
Andy Cedilnik d87595ede3 Add macro for checking if symbol exists 2003-01-12 22:28:32 -05:00