Mercurial > hg > orthanc-databases
comparison MySQL/CMakeLists.txt @ 318:4a4087a79b9b
fix dependencies between targets
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 19 Jul 2021 15:22:41 +0200 |
parents | be8b0ac774e2 |
children | ae4c0c7b2254 |
comparison
equal
deleted
inserted
replaced
317:be8b0ac774e2 | 318:4a4087a79b9b |
---|---|
88 add_library(OrthancMySQLStorage SHARED | 88 add_library(OrthancMySQLStorage SHARED |
89 ${STORAGE_RESOURCES} | 89 ${STORAGE_RESOURCES} |
90 Plugins/StoragePlugin.cpp | 90 Plugins/StoragePlugin.cpp |
91 ) | 91 ) |
92 | 92 |
93 add_dependencies(FrameworkForPlugins AutogeneratedTarget) | |
94 | |
93 target_link_libraries(OrthancMySQLIndex FrameworkForPlugins) | 95 target_link_libraries(OrthancMySQLIndex FrameworkForPlugins) |
94 target_link_libraries(OrthancMySQLStorage FrameworkForPlugins) | 96 target_link_libraries(OrthancMySQLStorage FrameworkForPlugins) |
95 | |
96 add_dependencies(OrthancMySQLIndex AutogeneratedTarget) | |
97 add_dependencies(OrthancMySQLStorage AutogeneratedTarget) | |
98 | 97 |
99 message("Setting the version of the libraries to ${ORTHANC_PLUGIN_VERSION}") | 98 message("Setting the version of the libraries to ${ORTHANC_PLUGIN_VERSION}") |
100 | 99 |
101 add_definitions( | 100 add_definitions( |
102 -DORTHANC_PLUGIN_VERSION="${ORTHANC_PLUGIN_VERSION}" | 101 -DORTHANC_PLUGIN_VERSION="${ORTHANC_PLUGIN_VERSION}" |