comparison Orthanc/Resources/CMake/GoogleTestConfiguration.cmake @ 182:fd455a92ca70

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jan 2018 09:48:09 +0100
parents dd1ad819ca33
children
comparison
equal deleted inserted replaced
181:7c3e88ed1b04 182:fd455a92ca70
54 54
55 source_group(ThirdParty\\GoogleTest REGULAR_EXPRESSION ${GOOGLE_TEST_SOURCES_DIR}/.*) 55 source_group(ThirdParty\\GoogleTest REGULAR_EXPRESSION ${GOOGLE_TEST_SOURCES_DIR}/.*)
56 56
57 else() 57 else()
58 include(FindGTest) 58 include(FindGTest)
59 if (NOT GOOGLE_TEST_FOUND) 59 if (NOT GTEST_FOUND)
60 message(FATAL_ERROR "Unable to find GoogleTest") 60 message(FATAL_ERROR "Unable to find GoogleTest")
61 endif() 61 endif()
62 62
63 include_directories(${GOOGLE_TEST_INCLUDE_DIRS}) 63 include_directories(${GTEST_INCLUDE_DIRS})
64 64
65 # The variable GOOGLE_TEST_LIBRARIES contains the shared library of 65 # The variable GTEST_LIBRARIES contains the shared library of
66 # Google Test 66 # Google Test, create an alias for more uniformity
67 set(GOOGLE_TEST_LIBRARIES ${GTEST_LIBRARIES})
67 endif() 68 endif()