ryzom-md5.diff

ratmice, 05/08/2010 01:26 am

Download (1.4 kB)

b/code/ryzom/CMakeModules/FindLibwww.cmake Fri May 07 16:22:19 2010 -0700
38 38
  /usr/freeware/lib64
39 39
)
40 40

  
41
FIND_LIBRARY(LIBMD5_LIBRARY 
42
  md5 
43
  PATHS
44
  /usr/local/lib
45
  /usr/lib
46
  /usr/local/X11R6/lib
47
  /usr/X11R6/lib
48
  /sw/lib
49
  /opt/local/lib
50
  /opt/csw/lib
51
  /opt/lib
52
  /usr/freeware/lib64
53
)
54

  
41 55
IF(LIBWWW_LIBRARY AND LIBWWW_INCLUDE_DIR)
42 56
  SET(LIBWWW_FOUND "YES")
43 57
  IF(NOT LIBWWW_FIND_QUIETLY)
......
49 63
  ENDIF(NOT LIBWWW_FIND_QUIETLY)
50 64
ENDIF(LIBWWW_LIBRARY AND LIBWWW_INCLUDE_DIR)
51 65

  
66
IF(LIBMD5_LIBRARY)
67
  SET(LIBMD5_FOUND "YES")
68
  IF(NOT LIBMD5_FIND_QUIETLY)
69
    MESSAGE(STATUS "Found LibMD5: ${LIBMD5_LIBRARY}")
70
  ENDIF(NOT LIBMD5_FIND_QUIETLY)
71
ELSE(LIBMD5_LIBRARY)
72
  IF(NOT LIBMD5_FIND_QUIETLY)
73
    MESSAGE(STATUS "Warning: Unable to find LibMD5!")
74
  ENDIF(NOT LIBMD5_FIND_QUIETLY)
75
ENDIF(LIBMD5_LIBRARY)
b/code/ryzom/client/src/CMakeLists.txt Fri May 07 16:22:19 2010 -0700
63 63
				${NELSOUND_LIBRARY} 
64 64
				${NELSNDDRV_LIBRARY}
65 65
				${CLIENT_SHEETS_LIB} 
66
				${NELPACS_LIBRARY} 
66
				${NELPACS_LIBRARY}
67
				${LIBMD5_LIBRARY} 
67 68
				${LIBWWW_LIBRARY} 
68 69
				${Boost_LIBRARIES} 
69 70
				${X11_LIBRARIES}