diff options
Diffstat (limited to 'cmake/modules/FindADNS.cmake')
-rw-r--r-- | cmake/modules/FindADNS.cmake | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/cmake/modules/FindADNS.cmake b/cmake/modules/FindADNS.cmake deleted file mode 100644 index 596019556f..0000000000 --- a/cmake/modules/FindADNS.cmake +++ /dev/null @@ -1,33 +0,0 @@ -# -# - Find adns -# Find the native ADNS includes and library -# -# ADNS_INCLUDE_DIRS - where to find adns.h, etc. -# ADNS_LIBRARIES - List of libraries when using adns. -# ADNS_FOUND - True if adns found. - - -IF (ADNS_INCLUDE_DIRS) - # Already in cache, be silent - SET(ADNS_FIND_QUIETLY TRUE) -ENDIF (ADNS_INCLUDE_DIRS) - -FIND_PATH(ADNS_INCLUDE_DIR adns.h) - -SET(ADNS_NAMES adns) -FIND_LIBRARY(ADNS_LIBRARY NAMES ${ADNS_NAMES} ) - -# handle the QUIETLY and REQUIRED arguments and set ADNS_FOUND to TRUE if -# all listed variables are TRUE -INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(ADNS DEFAULT_MSG ADNS_LIBRARY ADNS_INCLUDE_DIR) - -IF(ADNS_FOUND) - SET( ADNS_LIBRARIES ${ADNS_LIBRARY} ) - SET( ADNS_INCLUDE_DIRS ${ADNS_INCLUDE_DIR} ) -ELSE(ADNS_FOUND) - SET( ADNS_LIBRARIES ) - SET( ADNS_INCLUDE_DIRS ) -ENDIF(ADNS_FOUND) - -MARK_AS_ADVANCED( ADNS_LIBRARIES ADNS_INCLUDE_DIRS ) |