Mercurial > hg > orthanc-databases
diff 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 |
line wrap: on
line diff
--- a/MySQL/CMakeLists.txt Mon Jul 19 15:16:20 2021 +0200 +++ b/MySQL/CMakeLists.txt Mon Jul 19 15:22:41 2021 +0200 @@ -90,12 +90,11 @@ Plugins/StoragePlugin.cpp ) +add_dependencies(FrameworkForPlugins AutogeneratedTarget) + target_link_libraries(OrthancMySQLIndex FrameworkForPlugins) target_link_libraries(OrthancMySQLStorage FrameworkForPlugins) -add_dependencies(OrthancMySQLIndex AutogeneratedTarget) -add_dependencies(OrthancMySQLStorage AutogeneratedTarget) - message("Setting the version of the libraries to ${ORTHANC_PLUGIN_VERSION}") add_definitions(