ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/InstallRules/dependencies.cmake.in
Revision: 1.2
Committed: Wed Apr 25 22:21:06 2012 UTC (12 years ago) by greg
Branch: MAIN
Changes since 1.1: +1 -1 lines
Log Message:
Changes to support new Cmake build system

File Contents

# User Rev Content
1 greg 1.1 if("${CMAKE_VERSION}" VERSION_LESS "2.8.5")
2     # older CMake, add to CMAKE_MODULE_PATH, use local BundleUtilities and GetPrerequisites
3     set(CMAKE_MODULE_PATH "@CMAKE_CURRENT_SOURCE_DIR@" ${CMAKE_MODULE_PATH})
4     endif()
5    
6     function(gp_item_default_embedded_path_override path)
7     set(path "@executable_path" PARENT_SCOPE)
8     endfunction()
9    
10     include(BundleUtilities)
11    
12 greg 1.2 fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/rvu@CMAKE_EXECUTABLE_SUFFIX@" "" "@QT_LIBRARY_DIR@;@X11_LIBRARY_DIR@;@TIFF_LIBRARY_DIRS@")