summaryrefslogtreecommitdiff
path: root/indra/cmake/FindJsonCpp.cmake
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-04-22 16:03:35 -0400
committerOz Linden <oz@lindenlab.com>2014-04-22 16:03:35 -0400
commitd00d37d23b68037fed8eeeffe21a87f7597086c3 (patch)
tree2ce3ca6ce4038ab967277ebba1ca4b8a599c50e5 /indra/cmake/FindJsonCpp.cmake
parent6c8bddca3d5a790934535fdd6f176e28d181d76a (diff)
parent776aadf4ef65681084268c3866058172c89b4259 (diff)
merge changes for OPEN-199
Diffstat (limited to 'indra/cmake/FindJsonCpp.cmake')
-rwxr-xr-xindra/cmake/FindJsonCpp.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/FindJsonCpp.cmake b/indra/cmake/FindJsonCpp.cmake
index 0b056ada58..9398779cff 100755
--- a/indra/cmake/FindJsonCpp.cmake
+++ b/indra/cmake/FindJsonCpp.cmake
@@ -23,10 +23,10 @@ EXEC_PROGRAM(${CMAKE_CXX_COMPILER}
# Try to find a library that was compiled with the same compiler version as we currently use.
SET(JSONCPP_NAMES ${JSONCPP_NAMES} libjson_linux-gcc-${_gcc_COMPILER_VERSION}_libmt.so)
-IF (STANDALONE)
+IF (USESYSTEMLIBS)
# On standalone, assume that the system installed library was compiled with the used compiler.
SET(JSONCPP_NAMES ${JSONCPP_NAMES} libjson.so)
-ENDIF (STANDALONE)
+ENDIF (USESYSTEMLIBS)
FIND_LIBRARY(JSONCPP_LIBRARY
NAMES ${JSONCPP_NAMES}
PATHS /usr/lib /usr/local/lib