Revision: 75780
          http://sourceforge.net/p/brlcad/code/75780
Author:   d_rossberg
Date:     2020-05-13 08:31:32 +0000 (Wed, 13 May 2020)
Log Message:
-----------
it is counterproductive to link a static library with other libraries; this 
should be done by the linker of the final binary (executable or shared library) 
instead

Modified Paths:
--------------
    brlcad/trunk/src/other/openNURBS/CMakeLists.txt

Modified: brlcad/trunk/src/other/openNURBS/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/openNURBS/CMakeLists.txt     2020-05-13 01:36:44 UTC 
(rev 75779)
+++ brlcad/trunk/src/other/openNURBS/CMakeLists.txt     2020-05-13 08:31:32 UTC 
(rev 75780)
@@ -385,7 +385,6 @@
 endif(BUILD_SHARED_LIBS)
 
 if(BUILD_STATIC_LIBS)
-  target_link_libraries(openNURBS-static ${OPENNURBS_LINKLIBRARIES})
   if(MSVC)
     # msvc does not append 'lib' - do it here to have consistent name
     set_target_properties(openNURBS-static PROPERTIES PREFIX "lib")

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