Revision: 76069
          http://sourceforge.net/p/brlcad/code/76069
Author:   starseeker
Date:     2020-06-08 18:14:21 +0000 (Mon, 08 Jun 2020)
Log Message:
-----------
Hmm... need to sort out how to deal with this for plugins...

Modified Paths:
--------------
    brlcad/trunk/src/libgcv/plugins/CMakeLists.txt

Modified: brlcad/trunk/src/libgcv/plugins/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/libgcv/plugins/CMakeLists.txt      2020-06-08 17:31:57 UTC 
(rev 76068)
+++ brlcad/trunk/src/libgcv/plugins/CMakeLists.txt      2020-06-08 18:14:21 UTC 
(rev 76069)
@@ -29,9 +29,10 @@
 
   # We're using GCV_EXPORT for these plugins, so we need to set the 
DLL_EXPORTS accordingly
   if(HIDE_INTERNAL_SYMBOLS)
-    set_property(TARGET ${target_name} APPEND PROPERTY COMPILE_DEFINITIONS 
"GCV_DLL_EXPORTS")
+    set_property(TARGET ${target_name} APPEND PROPERTY COMPILE_DEFINITIONS 
"GCV_DLL_IMPORTS")
+    set_property(TARGET ${target_name} APPEND PROPERTY 
INTERFACE_COMPILE_DEFINITIONS "GCV_DLL_EXPORTS")
     if (TARGET ${target_name}-obj)
-      set_property(TARGET ${target_name}-obj APPEND PROPERTY 
COMPILE_DEFINITIONS "GCV_DLL_EXPORTS")
+      set_property(TARGET ${target_name}-obj APPEND PROPERTY 
COMPILE_DEFINITIONS "GCV_DLL_IMPORTS")
     endif (TARGET ${target_name}-obj)
   endif(HIDE_INTERNAL_SYMBOLS)
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to