Mercurial > hg > orthanc-databases
comparison Resources/CMake/DatabasesFrameworkConfiguration.cmake @ 300:a116dbdf9118
replaced CMAKE_SOURCE_DIR by CMAKE_CURRENT_LIST_DIR in CMake scripts
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 07 Jul 2021 16:48:58 +0200 |
parents | 70685295a373 |
children | b5fb8b77ce4d |
comparison
equal
deleted
inserted
replaced
299:70685295a373 | 300:a116dbdf9118 |
---|---|
71 endif() | 71 endif() |
72 | 72 |
73 set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") | 73 set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") |
74 set(USE_GOOGLE_TEST_DEBIAN_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") | 74 set(USE_GOOGLE_TEST_DEBIAN_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") |
75 mark_as_advanced(USE_GOOGLE_TEST_DEBIAN_PACKAGE) | 75 mark_as_advanced(USE_GOOGLE_TEST_DEBIAN_PACKAGE) |
76 include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/CMake/GoogleTestConfiguration.cmake) | 76 include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/CMake/GoogleTestConfiguration.cmake) |
77 | 77 |
78 else() | 78 else() |
79 # Those modules of the Orthanc framework are not needed when dealing | 79 # Those modules of the Orthanc framework are not needed when dealing |
80 # with databases | 80 # with databases |
81 set(ENABLE_MODULE_IMAGES OFF) | 81 set(ENABLE_MODULE_IMAGES OFF) |