summaryrefslogtreecommitdiff
path: root/indra/cmake/GoogleMock.cmake
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-02-16 18:24:03 -0500
committerOz Linden <oz@lindenlab.com>2011-02-16 18:24:03 -0500
commit75f7aca1079468eb8655c5726318cc3a7aa85c16 (patch)
treecabf8ba08a2cb0b1da360798c0937e840bf42590 /indra/cmake/GoogleMock.cmake
parent8af932de1f006d518ddfcf44c8cc2cab344dc802 (diff)
parentbf7801aeec041fd162599b1b394780ef0e32fe9c (diff)
Automated merge with ssh://bitbucket.org/jenn_linden/viewer-vs2010
Diffstat (limited to 'indra/cmake/GoogleMock.cmake')
-rw-r--r--indra/cmake/GoogleMock.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/cmake/GoogleMock.cmake b/indra/cmake/GoogleMock.cmake
index ca5a8034ba..06d6d847a0 100644
--- a/indra/cmake/GoogleMock.cmake
+++ b/indra/cmake/GoogleMock.cmake
@@ -8,9 +8,10 @@ set(GOOGLEMOCK_INCLUDE_DIRS
${LIBS_PREBUILT_DIR}/include)
if (LINUX)
+ # VWR-24366: gmock is underlinked, it needs gtest.
set(GOOGLEMOCK_LIBRARIES
- gmock
- gtest)
+ gmock -Wl,--no-as-needed
+ gtest -Wl,--as-needed)
elseif(WINDOWS)
set(GOOGLEMOCK_LIBRARIES
gmock)