comparison Resources/CMake/GoogleTestConfiguration.cmake @ 2450:ade8b4ddd8a6

Static linking against libuuid
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Jan 2018 11:02:59 +0100
parents e6af2c5cd0f1
children d61e73357674
comparison
equal deleted inserted replaced
2449:e779c11c8eb2 2450:ade8b4ddd8a6
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)