diff PostgreSQL/CMakeLists.txt @ 24:17f849b2af34

sharing plugin initialization code
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Jul 2018 12:17:39 +0200
parents 9774802fd05f
children 173176f8cef2
line wrap: on
line diff
--- a/PostgreSQL/CMakeLists.txt	Thu Jul 12 10:44:17 2018 +0200
+++ b/PostgreSQL/CMakeLists.txt	Thu Jul 12 12:17:39 2018 +0200
@@ -23,15 +23,19 @@
   )
 
 add_library(OrthancPostgreSQLIndex SHARED
+  ${ORTHANC_DATABASES_ROOT}/Framework/Plugins/PluginInitialization.cpp
+  Plugins/IndexPlugin.cpp
   Plugins/PostgreSQLIndex.cpp
-  Plugins/IndexPlugin.cpp
+
   ${DATABASES_SOURCES}
   ${AUTOGENERATED_SOURCES}
   )
 
 add_library(OrthancPostgreSQLStorage SHARED
+  ${ORTHANC_DATABASES_ROOT}/Framework/Plugins/PluginInitialization.cpp
   Plugins/PostgreSQLStorageArea.cpp
   Plugins/StoragePlugin.cpp
+
   ${DATABASES_SOURCES}
   ${AUTOGENERATED_SOURCES}
   )