diff options
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/FindDb43.cmake | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/cmake/modules/FindDb43.cmake b/cmake/modules/FindDb43.cmake deleted file mode 100644 index cc8d613..0000000 --- a/cmake/modules/FindDb43.cmake +++ /dev/null @@ -1,28 +0,0 @@ - -if(DB43_INCLUDE_DIR AND DB43_LIBRARY) - # Already in cache, be silent - set(DB43_FIND_QUIETLY TRUE) -endif(DB43_INCLUDE_DIR AND DB43_LIBRARY) - -set(DB43_LIBRARY) -set(DB43_INCLUDE_DIR) - -FIND_PATH(DB43_INCLUDE_DIR db43/db.h - /usr/include - /usr/local/include -) - -FIND_LIBRARY(DB43_LIBRARY NAMES db-4.3 - PATHS - /usr/lib - /usr/local/lib -) - -if(DB43_INCLUDE_DIR AND DB43_LIBRARY) - MESSAGE( STATUS "db-4.3 found: includes in ${DB43_INCLUDE_DIR}, library in ${DB43_LIBRARY}") - set(DB43_FOUND TRUE) -else(DB43_INCLUDE_DIR AND DB43_LIBRARY) - MESSAGE( STATUS "db-4.3 not found") -endif(DB43_INCLUDE_DIR AND DB43_LIBRARY) - -MARK_AS_ADVANCED(DB43_INCLUDE_DIR DB43_LIBRARY)
\ No newline at end of file |