Leo Breebaart schrieb:
In CMake 2.6.1, the header for FindTIFF.cmake says:

# This module defines
#  TIFF_INCLUDE_DIR, where to find tiff.h, etc.
#  TIFF_LIBRARIES, libraries to link against to use TIFF.
#  TIFF_FOUND, If false, do not try to use TIFF.
# also defined, but not for general use are
#  TIFF_LIBRARY, where to find the TIFF library.

However, after executing:

  FIND_PACKAGE(TIFF)

my CMakeCache.txt now has the following entries:

    TIFF_INCLUDE_DIR:PATH=/usr/include
    TIFF_LIBRARY:FILEPATH=/usr/lib/libtiff.so

So, in other words, the "not for general use" TIFF_LIBRARY
variable is placed in my cache, while the promised TIFF_LIBRARIES
variable is not.

Is there a reason why you want to have the other vars in CMakeCache.txt? Isn't it enough to have them available?


Christian
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to