Mercurial > hg > orthanc-databases
changeset 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 | 2447c290fc73 |
files | Resources/CMake/DatabasesFrameworkConfiguration.cmake Resources/CMake/DatabasesPluginConfiguration.cmake |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/DatabasesFrameworkConfiguration.cmake Thu Jul 01 16:25:41 2021 +0200 +++ b/Resources/CMake/DatabasesFrameworkConfiguration.cmake Wed Jul 07 16:48:58 2021 +0200 @@ -73,7 +73,7 @@ set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") set(USE_GOOGLE_TEST_DEBIAN_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") mark_as_advanced(USE_GOOGLE_TEST_DEBIAN_PACKAGE) - include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/CMake/GoogleTestConfiguration.cmake) + include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/CMake/GoogleTestConfiguration.cmake) else() # Those modules of the Orthanc framework are not needed when dealing
--- a/Resources/CMake/DatabasesPluginConfiguration.cmake Thu Jul 01 16:25:41 2021 +0200 +++ b/Resources/CMake/DatabasesPluginConfiguration.cmake Wed Jul 07 16:48:58 2021 +0200 @@ -18,9 +18,9 @@ -include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesFrameworkConfiguration.cmake) -include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/CMake/AutoGeneratedCode.cmake) -include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) +include(${CMAKE_CURRENT_LIST_DIR}/DatabasesFrameworkConfiguration.cmake) +include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/CMake/AutoGeneratedCode.cmake) +include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/Plugins/OrthancPluginsExports.cmake) if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK)