# HG changeset patch # User Sebastien Jodogne # Date 1515142089 -3600 # Node ID fd455a92ca700699089a478ae8267b68805c74d6 # Parent 7c3e88ed1b044a34fac59da139d99a1c63a5ce97 sync diff -r 7c3e88ed1b04 -r fd455a92ca70 Orthanc/Resources/CMake/GoogleTestConfiguration.cmake --- a/Orthanc/Resources/CMake/GoogleTestConfiguration.cmake Thu Jan 04 20:03:44 2018 +0100 +++ b/Orthanc/Resources/CMake/GoogleTestConfiguration.cmake Fri Jan 05 09:48:09 2018 +0100 @@ -56,12 +56,13 @@ else() include(FindGTest) - if (NOT GOOGLE_TEST_FOUND) + if (NOT GTEST_FOUND) message(FATAL_ERROR "Unable to find GoogleTest") endif() - include_directories(${GOOGLE_TEST_INCLUDE_DIRS}) + include_directories(${GTEST_INCLUDE_DIRS}) - # The variable GOOGLE_TEST_LIBRARIES contains the shared library of - # Google Test + # The variable GTEST_LIBRARIES contains the shared library of + # Google Test, create an alias for more uniformity + set(GOOGLE_TEST_LIBRARIES ${GTEST_LIBRARIES}) endif()