Revision: 76068
          http://sourceforge.net/p/brlcad/code/76068
Author:   starseeker
Date:     2020-06-08 17:31:57 +0000 (Mon, 08 Jun 2020)
Log Message:
-----------
libbrep needs the import, not just libbrep users

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/CMakeLists.txt

Modified: brlcad/trunk/src/libbrep/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/libbrep/CMakeLists.txt     2020-06-08 15:56:48 UTC (rev 
76067)
+++ brlcad/trunk/src/libbrep/CMakeLists.txt     2020-06-08 17:31:57 UTC (rev 
76068)
@@ -84,8 +84,9 @@
 BRLCAD_ADDLIB(libbrep "${LIBBREP_SOURCES}" 
"libbg;libbn;libbu;${OPENNURBS_LIBRARIES};${P2T_LIBRARY};${WINSOCK_LIB};${RPCRT_LIB};${STDCXX_LIBRARIES}")
 set_target_properties(libbrep PROPERTIES VERSION 20.0.1 SOVERSION 20)
 
-# Anyone who needs to import libbrep will also need to import openNURBS
 if(HIDE_INTERNAL_SYMBOLS)
+  set_property(TARGET libbrep APPEND PROPERTY COMPILE_DEFINITIONS 
"ON_DLL_IMPORTS")
+  # Anyone who needs to import libbrep will also need to import openNURBS
   set_property(TARGET libbrep APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS 
"ON_DLL_IMPORTS")
 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