Mercurial > hg > orthanc
diff Resources/CMake/GoogleTestConfiguration.cmake @ 2404:e6af2c5cd0f1
migration of Google Test into OrthancFramework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 Sep 2017 16:48:33 +0200 |
parents | 06536b4f30c0 |
children | ade8b4ddd8a6 |
line wrap: on
line diff
--- a/Resources/CMake/GoogleTestConfiguration.cmake Fri Sep 08 16:34:47 2017 +0200 +++ b/Resources/CMake/GoogleTestConfiguration.cmake Fri Sep 08 16:48:33 2017 +0200 @@ -16,7 +16,10 @@ message("Path to the Debian Google Test sources: ${GOOGLE_TEST_DEBIAN_SOURCES_DIR}") message("Path to the Debian Google Test includes: ${GOOGLE_TEST_DEBIAN_INCLUDE_DIR}") - set(GOOGLE_TEST_SOURCES ${GOOGLE_TEST_DEBIAN_SOURCES_DIR}/src/gtest-all.cc) + set(GOOGLE_TEST_SOURCES + ${GOOGLE_TEST_DEBIAN_SOURCES_DIR}/src/gtest-all.cc + ) + include_directories(${GOOGLE_TEST_DEBIAN_SOURCES_DIR}) if (NOT EXISTS ${GOOGLE_TEST_SOURCES} OR @@ -54,5 +57,7 @@ endif() include_directories(${GOOGLE_TEST_INCLUDE_DIRS}) - link_libraries(${GOOGLE_TEST_LIBRARIES}) + + # The variable GOOGLE_TEST_LIBRARIES contains the shared library of + # Google Test endif()