diff -r 27dae7b01a81 doc/contributions.txt --- doc/contributions.txt Wed Dec 29 15:29:58 2010 -0500 +++ doc/contributions.txt Sat Jan 01 21:45:31 2011 +0100 @@ -79,6 +79,7 @@ VWR-24252 VWR-24254 VWR-24261 + VWR-24366 SNOW-84 SNOW-477 SNOW-744 diff -r 27dae7b01a81 indra/cmake/GoogleMock.cmake --- indra/cmake/GoogleMock.cmake Wed Dec 29 15:29:58 2010 -0500 +++ indra/cmake/GoogleMock.cmake Sat Jan 01 21:45:31 2011 +0100 @@ -8,9 +8,10 @@ ${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) diff -r 27dae7b01a81 indra/cmake/LLAddBuildTest.cmake --- indra/cmake/LLAddBuildTest.cmake Wed Dec 29 15:29:58 2010 -0500 +++ indra/cmake/LLAddBuildTest.cmake Sat Jan 01 21:45:31 2011 +0100 @@ -57,11 +57,6 @@ ${CMAKE_SOURCE_DIR}/test/test.h ) - # Use the default flags - if (LINUX) - SET(CMAKE_EXE_LINKER_FLAGS "") - endif (LINUX) - # start the source test executable definitions SET(${project}_TEST_OUTPUT "") FOREACH (source ${sources})