ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/InstallRules/dependencies.cmake.in
Revision: 1.6
Committed: Thu Aug 17 21:32:29 2017 UTC (6 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad5R1
Changes since 1.5: +1 -1 lines
Log Message:
Final check-ins to get evalglare working and addition of bsdfview -t option

File Contents

# Content
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 set(plugins "")
13 list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/imageformats/@GIF_PLUGIN_NAME@")
14 list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/imageformats/@ICO_PLUGIN_NAME@")
15 list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/imageformats/@JPEG_PLUGIN_NAME@")
16 #list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/imageformats/@MNG_PLUGIN_NAME@")
17 list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/imageformats/@TIFF_PLUGIN_NAME@")
18 list(APPEND plugins "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/plugins/platforms/@QPA_PLUGIN_NAME@")
19
20 fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/rtrace@CMAKE_EXECUTABLE_SUFFIX@" "${plugins}" "@QT_LIBRARY_DIR@;@X11_LIBRARY_DIR@;@TIFF_LIBRARY_DIRS@")