Mercurial > hg > orthanc
comparison OrthancFramework/Resources/CMake/DownloadOrthancFramework.cmake @ 4102:2ace6dc9b1d7
removed Google Test from DownloadOrthancFramework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 06 Jul 2020 10:54:59 +0200 |
parents | 99e2054d1e8d |
children | c02a2d9efbc2 |
comparison
equal
deleted
inserted
replaced
4101:f417482f4aa6 | 4102:2ace6dc9b1d7 |
---|---|
394 | 394 |
395 | 395 |
396 | 396 |
397 ## | 397 ## |
398 ## Case of the Orthanc framework installed as a shared library in a | 398 ## Case of the Orthanc framework installed as a shared library in a |
399 ## GNU/Linux distribution (typically Debian) | 399 ## GNU/Linux distribution (typically Debian). New in Orthanc 1.7.2. |
400 ## | 400 ## |
401 | 401 |
402 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") | 402 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") |
403 set(ORTHANC_FRAMEWORK_LIBDIR "" CACHE PATH "") | 403 set(ORTHANC_FRAMEWORK_LIBDIR "" CACHE PATH "") |
404 | 404 |
483 include_directories(${DCMTK_INCLUDE_DIRS}) | 483 include_directories(${DCMTK_INCLUDE_DIRS}) |
484 link_libraries(${DCMTK_LIBRARIES}) | 484 link_libraries(${DCMTK_LIBRARIES}) |
485 endif() | 485 endif() |
486 endif() | 486 endif() |
487 | 487 |
488 # Optional component - Google Test | |
489 if (ENABLE_GOOGLE_TEST) | |
490 set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") | |
491 set(USE_GOOGLE_TEST_DEBIAN_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") | |
492 mark_as_advanced(USE_GOOGLE_TEST_DEBIAN_PACKAGE) | |
493 include(${CMAKE_CURRENT_LIST_DIR}/GoogleTestConfiguration.cmake) | |
494 endif() | |
495 | |
496 # Look for Orthanc framework shared library | 488 # Look for Orthanc framework shared library |
497 include(CheckCXXSymbolExists) | 489 include(CheckCXXSymbolExists) |
498 | 490 |
499 if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows") | 491 if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows") |
500 set(ORTHANC_FRAMEWORK_INCLUDE_DIR ${ORTHANC_FRAMEWORK_ROOT}) | 492 set(ORTHANC_FRAMEWORK_INCLUDE_DIR ${ORTHANC_FRAMEWORK_ROOT}) |