# HG changeset patch # User Sebastien Jodogne # Date 1515142112 -3600 # Node ID db8035b504cdf711d3c0235d88c9383d84d066cc # Parent b3e0ea3b0746d1ec657ee33cc6f02fe85b5b0a74 sync diff -r b3e0ea3b0746 -r db8035b504cd Orthanc/Resources/CMake/GoogleTestConfiguration.cmake --- a/Orthanc/Resources/CMake/GoogleTestConfiguration.cmake Thu Jan 04 20:04:05 2018 +0100 +++ b/Orthanc/Resources/CMake/GoogleTestConfiguration.cmake Fri Jan 05 09:48:32 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()