ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/InstallRules/CMakeLists.txt
(Generate patch)

Comparing ray/InstallRules/CMakeLists.txt (file contents):
Revision 1.1 by greg, Sat Oct 22 22:38:10 2011 UTC vs.
Revision 1.2 by greg, Wed Apr 25 22:21:06 2012 UTC

# Line 1 | Line 1
1 + if(X11_FOUND)
2 +  get_filename_component(X11_LIBRARY_DIR ${X11_X11_LIB} PATH)
3 + endif()
4 + if(TIFF_LIBRARY)
5 +  get_filename_component(TIFF_LIBRARY_DIR ${TIFF_LIBRARY} PATH)
6 +  if(WIN32)
7 +    #also need the location of libtiff3.dll on Windows.
8 +    #By default this is ../bin relative to TIFF_LIBRARY_DIR.
9 +    set(TIFF_BINARY_DIR "${TIFF_LIBRARY_DIR}/../bin")
10 +    get_filename_component(TIFF_BINARY_DIR "${TIFF_BINARY_DIR}" ABSOLUTE)
11 +    set(TIFF_LIBRARY_DIRS "${TIFF_LIBRARY_DIR};${TIFF_BINARY_DIR}")
12 +  else()
13 +    set(TIFF_LIBRARY_DIRS "${TIFF_LIBRARY_DIR}")
14 +  endif()
15 + endif()
16   configure_file(
17     "${CMAKE_CURRENT_SOURCE_DIR}/dependencies.cmake.in"
18     "${CMAKE_CURRENT_BINARY_DIR}/dependencies.cmake"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines