Mercurial > hg > orthanc
diff Resources/CMake/GoogleTestConfiguration.cmake @ 634:d775a3cb5a06
refactoring of CMake scripts
author | jodogne |
---|---|
date | Tue, 29 Oct 2013 10:31:02 +0100 |
parents | 27d32fc6209a |
children | 92aa6df91c30 |
line wrap: on
line diff
--- a/Resources/CMake/GoogleTestConfiguration.cmake Tue Oct 29 09:04:25 2013 +0100 +++ b/Resources/CMake/GoogleTestConfiguration.cmake Tue Oct 29 10:31:02 2013 +0100 @@ -1,4 +1,4 @@ -if (DEBIAN_USE_GTEST_SOURCE_PACKAGE) +if (USE_GTEST_DEBIAN_PACKAGE) set(GTEST_SOURCES /usr/src/gtest/src/gtest-all.cc) include_directories(/usr/src/gtest) @@ -7,7 +7,7 @@ message(FATAL_ERROR "Please install the libgtest-dev package") endif() -elseif (STATIC_BUILD OR NOT USE_DYNAMIC_GOOGLE_TEST) +elseif (STATIC_BUILD OR NOT USE_SYSTEM_GOOGLE_TEST) SET(GTEST_SOURCES_DIR ${CMAKE_BINARY_DIR}/gtest-1.6.0) DownloadPackage( "4577b49f2973c90bf9ba69aa8166b786"