comparison Resources/CMake/GoogleTestConfiguration.cmake @ 2192:61ab5fa36754 Orthanc-0.5.1

hotfix in release 0.5.1 to properly download dependencies
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 02 Dec 2016 13:04:38 +0100
parents a63fb54819d7
children
comparison
equal deleted inserted replaced
379:69920b9875a3 2192:61ab5fa36754
7 message(FATAL_ERROR "Please install the libgtest-dev package") 7 message(FATAL_ERROR "Please install the libgtest-dev package")
8 endif() 8 endif()
9 9
10 elseif (STATIC_BUILD OR NOT USE_DYNAMIC_GOOGLE_TEST) 10 elseif (STATIC_BUILD OR NOT USE_DYNAMIC_GOOGLE_TEST)
11 SET(GTEST_SOURCES_DIR ${CMAKE_BINARY_DIR}/gtest-1.6.0) 11 SET(GTEST_SOURCES_DIR ${CMAKE_BINARY_DIR}/gtest-1.6.0)
12 DownloadPackage("http://googletest.googlecode.com/files/gtest-1.6.0.zip" "${GTEST_SOURCES_DIR}" "" "") 12 DownloadPackage("http://www.orthanc-server.com/downloads/third-party/gtest-1.6.0.zip" "${GTEST_SOURCES_DIR}" "" "")
13 13
14 include_directories( 14 include_directories(
15 ${GTEST_SOURCES_DIR}/include 15 ${GTEST_SOURCES_DIR}/include
16 ${GTEST_SOURCES_DIR} 16 ${GTEST_SOURCES_DIR}
17 ) 17 )