Mercurial > hg > orthanc-webviewer
comparison 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 |
comparison
equal
deleted
inserted
replaced
174:81f16c5667ba | 175:dd1ad819ca33 |
---|---|
45 | 45 |
46 # https://code.google.com/p/googletest/issues/detail?id=412 | 46 # https://code.google.com/p/googletest/issues/detail?id=412 |
47 if (MSVC) # VS2012 does not support tuples correctly yet | 47 if (MSVC) # VS2012 does not support tuples correctly yet |
48 add_definitions(/D _VARIADIC_MAX=10) | 48 add_definitions(/D _VARIADIC_MAX=10) |
49 endif() | 49 endif() |
50 | 50 |
51 if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") | |
52 add_definitions(-DGTEST_HAS_CLONE=0) | |
53 endif() | |
54 | |
51 source_group(ThirdParty\\GoogleTest REGULAR_EXPRESSION ${GOOGLE_TEST_SOURCES_DIR}/.*) | 55 source_group(ThirdParty\\GoogleTest REGULAR_EXPRESSION ${GOOGLE_TEST_SOURCES_DIR}/.*) |
52 | 56 |
53 else() | 57 else() |
54 include(FindGTest) | 58 include(FindGTest) |
55 if (NOT GOOGLE_TEST_FOUND) | 59 if (NOT GOOGLE_TEST_FOUND) |