Mercurial > hg > orthanc-databases
comparison Resources/CMake/DatabasesPluginConfiguration.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 | c7dc70a0a477 |
children | 16aac0287485 cd9521e04249 |
comparison
equal
deleted
inserted
replaced
299:70685295a373 | 300:a116dbdf9118 |
---|---|
16 # You should have received a copy of the GNU Affero General Public License | 16 # You should have received a copy of the GNU Affero General Public License |
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 |
19 | 19 |
20 | 20 |
21 include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesFrameworkConfiguration.cmake) | 21 include(${CMAKE_CURRENT_LIST_DIR}/DatabasesFrameworkConfiguration.cmake) |
22 include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/CMake/AutoGeneratedCode.cmake) | 22 include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/CMake/AutoGeneratedCode.cmake) |
23 include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) | 23 include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/Plugins/OrthancPluginsExports.cmake) |
24 | 24 |
25 | 25 |
26 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) | 26 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) |
27 if (ORTHANC_SDK_VERSION STREQUAL "0.9.5") | 27 if (ORTHANC_SDK_VERSION STREQUAL "0.9.5") |
28 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-0.9.5) | 28 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-0.9.5) |