Revision: 76070
http://sourceforge.net/p/brlcad/code/76070
Author: starseeker
Date: 2020-06-08 18:59:20 +0000 (Mon, 08 Jun 2020)
Log Message:
-----------
Hmm. Using INTERFACE_COMPILE_DEFINITIONS on libgcv complicates this quite a
bit, since the GCV_DLL* piece comes automatically from the linking of the lib
at a level we can't interfere with directly...
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 18:14:21 UTC
(rev 76069)
+++ brlcad/trunk/src/libgcv/plugins/CMakeLists.txt 2020-06-08 18:59:20 UTC
(rev 76070)
@@ -29,10 +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_IMPORTS")
+ set_property(TARGET ${target_name} APPEND PROPERTY COMPILE_DEFINITIONS
"GCV_DLL_EXPORTS")
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_IMPORTS")
+ set_property(TARGET ${target_name}-obj APPEND PROPERTY
COMPILE_DEFINITIONS "GCV_DLL_EXPORTS")
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