diff MySQL/CMakeLists.txt @ 316:1c2cd90418c9

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Jul 2021 14:59:36 +0200
parents 11641063ddb2
children be8b0ac774e2
line wrap: on
line diff
--- a/MySQL/CMakeLists.txt	Wed Jul 14 18:29:27 2021 +0200
+++ b/MySQL/CMakeLists.txt	Mon Jul 19 14:59:36 2021 +0200
@@ -75,8 +75,9 @@
   Plugins/MySQLStorageArea.cpp
   )
 
-set_property(TARGET FrameworkForPlugins
-  PROPERTY POSITION_INDEPENDENT_CODE ON
+set_target_properties(FrameworkForPlugins PROPERTIES
+  POSITION_INDEPENDENT_CODE ON
+  COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=1
   )
 
 add_library(OrthancMySQLIndex SHARED