comparison Orthanc/Resources/CMake/GoogleTestConfiguration.cmake @ 145:d850500b8ca6

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 08 Nov 2016 10:15:05 +0100
parents d6da56f86e5a
children 08f30c8962a7
comparison
equal deleted inserted replaced
144:daf99382bc18 145:d850500b8ca6
26 # https://code.google.com/p/googletest/issues/detail?id=412 26 # https://code.google.com/p/googletest/issues/detail?id=412
27 if (MSVC) # VS2012 does not support tuples correctly yet 27 if (MSVC) # VS2012 does not support tuples correctly yet
28 add_definitions(/D _VARIADIC_MAX=10) 28 add_definitions(/D _VARIADIC_MAX=10)
29 endif() 29 endif()
30 30
31 source_group(ThirdParty\\GoogleTest REGULAR_EXPRESSION ${GTEST_SOURCES_DIR}/.*)
32
31 else() 33 else()
32 include(FindGTest) 34 include(FindGTest)
33 if (NOT GTEST_FOUND) 35 if (NOT GTEST_FOUND)
34 message(FATAL_ERROR "Unable to find GoogleTest") 36 message(FATAL_ERROR "Unable to find GoogleTest")
35 endif() 37 endif()