diff options
author | Oz Linden <oz@lindenlab.com> | 2011-02-17 14:56:33 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-02-17 14:56:33 -0500 |
commit | c1901890576d3b9442846c8890b1724438eab46e (patch) | |
tree | 7d76da988c79d3b11fc2fc5e51d5f2c0248abaf0 /indra/cmake/GoogleMock.cmake | |
parent | 10cf492ef1730e869389b704345a6604ed363427 (diff) | |
parent | fb94ad7646b5c8a2eaa65e41b0b8b1679652d956 (diff) |
merge changes for storm-937
Diffstat (limited to 'indra/cmake/GoogleMock.cmake')
-rw-r--r-- | indra/cmake/GoogleMock.cmake | 5 |
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) |