summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-04-26 09:36:17 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-04-26 09:36:17 -0700
commit9fa3381221fc4f06d7e6d562dc3596e2e30e5f50 (patch)
tree029a9dbf64a15bc8b7f008d815bc16a8e6f22b03
parent1688e995eb936c7a38b731fab902dd02aef151d5 (diff)
Appease TC cmake OCD about substring args
-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 82ee3e7a5b..03e19a3211 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 -1 VALID_PKG_LIBDIRS)
+ string(SUBSTRING ${VALID_PKG_LIBDIRS} 1 0 VALID_PKG_LIBDIRS)
# Set PKG_CONFIG_LIBDIR environment.
SET(ENV{PKG_CONFIG_LIBDIR} ${VALID_PKG_LIBDIRS})