Skip to content
Snippets Groups Projects
Commit b4e4c03a authored by Ben Boeckel's avatar Ben Boeckel
Browse files

geotiff: add rpath entries to libraries

parent 35915355
No related branches found
No related tags found
1 merge request!1154tests: add a test to make sure all libraries are loadable on Linux
set(geotiff_options)
if (UNIX AND NOT APPLE)
list(APPEND geotiff_options
-DCMAKE_INSTALL_RPATH:STRING=<INSTALL_DIR>/lib)
endif ()
superbuild_add_project(geotiff
DEPENDS tiff zlib proj
LICENSE_FILES
......@@ -7,7 +13,8 @@ superbuild_add_project(geotiff
-DCMAKE_INSTALL_NAME_DIR:PATH=<INSTALL_DIR>/lib
-DWITH_TIFF:BOOL=${tiff_enabled}
-DWITH_ZLIB:BOOL=${zlib_enabled}
-DWITH_UTILITIES:BOOL=OFF)
-DWITH_UTILITIES:BOOL=OFF
${geotiff_options})
# GeoTIFF doesn't handle tiff's generated CMake package configuration well.
# https://github.com/OSGeo/libgeotiff/issues/20
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment