Revision: 70040 http://sourceforge.net/p/brlcad/code/70040 Author: starseeker Date: 2017-08-03 22:03:38 +0000 (Thu, 03 Aug 2017) Log Message: ----------- We can't use FILTER yet, but add a reminder to do so once we can require a sufficiently new CMake.
Modified Paths: -------------- brlcad/trunk/misc/CMake/BRLCAD_Util.cmake Modified: brlcad/trunk/misc/CMake/BRLCAD_Util.cmake =================================================================== --- brlcad/trunk/misc/CMake/BRLCAD_Util.cmake 2017-08-03 21:59:36 UTC (rev 70039) +++ brlcad/trunk/misc/CMake/BRLCAD_Util.cmake 2017-08-03 22:03:38 UTC (rev 70040) @@ -248,6 +248,7 @@ # yank them up front. set(ITEMS ${ARGN}) list(REMOVE_ITEM ITEMS SHARED STATIC OBJECT WIN32 UNKNOWN IMPORTED MODULE INTERFACE EXCLUDE_FROM_ALL) + # TODO - once we requrire a new enough CMake version, replace the foreach below with list(FILTER ...) foreach(ITEM ${ITEMS}) if("${ITEM}" MATCHES "TARGET_OBJECTS") list(REMOVE_ITEM ITEMS "${ITEM}") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits