Description: Fix the detection of orthanc-dev
Author: Sebastien Jodogne <s.jodogne@gmail.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: OrthancPostgreSQL-2.2/Resources/CMake/DatabasesPluginConfiguration.cmake
===================================================================
--- OrthancPostgreSQL-2.2.orig/Resources/CMake/DatabasesPluginConfiguration.cmake
+++ OrthancPostgreSQL-2.2/Resources/CMake/DatabasesPluginConfiguration.cmake
@@ -33,7 +33,7 @@ if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHA
     message(FATAL_ERROR "Unsupported version of the Orthanc plugin SDK: ${ORTHANC_SDK_VERSION}")
   endif()
 else ()
-  CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCppDatabasePlugin.h HAVE_ORTHANC_H)
+  CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCDatabasePlugin.h HAVE_ORTHANC_H)
   if (NOT HAVE_ORTHANC_H)
     message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK")
   endif()
