Mercurial > hg > orthanc-webviewer
diff Orthanc/Resources/CMake/GoogleTestConfiguration.cmake @ 175:dd1ad819ca33
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 04 Jan 2018 07:34:54 +0100 |
parents | 330ecfd96aec |
children | fd455a92ca70 |
line wrap: on
line diff
--- a/Orthanc/Resources/CMake/GoogleTestConfiguration.cmake Tue Jan 02 09:59:39 2018 +0100 +++ b/Orthanc/Resources/CMake/GoogleTestConfiguration.cmake Thu Jan 04 07:34:54 2018 +0100 @@ -47,7 +47,11 @@ if (MSVC) # VS2012 does not support tuples correctly yet add_definitions(/D _VARIADIC_MAX=10) endif() - + + if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") + add_definitions(-DGTEST_HAS_CLONE=0) + endif() + source_group(ThirdParty\\GoogleTest REGULAR_EXPRESSION ${GOOGLE_TEST_SOURCES_DIR}/.*) else()