summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-05-10 10:34:26 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-05-10 10:34:26 -0700
commit6074f65991f4a9e928ef9609e90d8e9570350e63 (patch)
tree9d287cd76903efdbf18058102d3f5274691ec585 /indra/cmake
parent5aa3f3c808976c3b709bd8141d4338e910c49691 (diff)
parentd2f71df15f14fe0f7e17f962d39d19dd571fc530 (diff)
Merge with vwr-dev-mat
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/ConfigurePkgConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/ConfigurePkgConfig.cmake b/indra/cmake/ConfigurePkgConfig.cmake
index 03e19a3211..82ee3e7a5b 100644
--- a/indra/cmake/ConfigurePkgConfig.cmake
+++ b/indra/cmake/ConfigurePkgConfig.cmake
@@ -62,7 +62,7 @@ IF("$ENV{PKG_CONFIG_LIBDIR}" STREQUAL "")
SET(VALID_PKG_LIBDIRS "${VALID_PKG_LIBDIRS}:/usr/share/pkgconfig:/usr/local/share/pkgconfig")
# Remove first unwanted ':'
- string(SUBSTRING ${VALID_PKG_LIBDIRS} 1 0 VALID_PKG_LIBDIRS)
+ string(SUBSTRING ${VALID_PKG_LIBDIRS} 1 -1 VALID_PKG_LIBDIRS)
# Set PKG_CONFIG_LIBDIR environment.
SET(ENV{PKG_CONFIG_LIBDIR} ${VALID_PKG_LIBDIRS})