[Cmake] Failing tests in AMD64

Peter Vanroose Peter.Vanroose at esat.kuleuven.ac.be
Wed Jun 30 03:20:45 EDT 2004


> X11_X11_LIB=/usr/X11R6/lib64/libX11.so
> X11_Xext_LIB=/usr/X11R6/lib64/libXext.so
> ...
> I have tried turning lib into lib64 in the FindX11.cmake module:
>
> SET(X11_LIB_SEARCH_PATH
>    /usr/X11R6/lib64
>    /usr/local/lib64
>    /usr/openwin/lib64
>    /usr/lib64
> )

I have identical problems on SGI (IRIX) where the libraries in /usr/lib 
should not be used, but instead the ones in /usr/lib32 have to be used.

The only way to force this is by manually setting
  GLUT_Xi_LIBRARY:FILEPATH=/usr/lib32/libXi.so
  GLUT_Xmu_LIBRARY:FILEPATH=/usr/lib32/libXmu.so
  GTK_Xi_LIBRARY:FILEPATH=/usr/lib32/libXi.so
  JPEG_LIBRARY:FILEPATH=/usr/lib32/libjpeg.so
  OPENGL_gl_LIBRARY:FILEPATH=/usr/lib32/libGL.so
  OPENGL_glu_LIBRARY:FILEPATH=/usr/lib32/libGLU.so
  PNG_LIBRARY:FILEPATH=/usr/lib32/libpng.so
  TIFF_LIBRARY:FILEPATH=/usr/lib32/libtiff.so
  X11_X11_LIB:FILEPATH=/usr/lib32/libX11.so
  X11_X11_LIBRARY:FILEPATH=/usr/lib32/libX11.so
  X11_Xext_LIB:FILEPATH=/usr/lib32/libXext.so
  X11_Xext_LIBRARY:FILEPATH=/usr/lib32/libXext.so
  ZLIB_LIBRARY:FILEPATH=/usr/lib32/libz.so
in every project's CMakeCache.txt file.


--	Peter Vanroose.


More information about the Cmake mailing list