Revision: 69022
http://sourceforge.net/p/brlcad/code/69022
Author: starseeker
Date: 2016-10-11 17:34:21 +0000 (Tue, 11 Oct 2016)
Log Message:
-----------
macro->function
Modified Paths:
--------------
brlcad/trunk/misc/CMake/BRLCAD_Util.cmake
Modified: brlcad/trunk/misc/CMake/BRLCAD_Util.cmake
===================================================================
--- brlcad/trunk/misc/CMake/BRLCAD_Util.cmake 2016-10-11 17:31:10 UTC (rev
69021)
+++ brlcad/trunk/misc/CMake/BRLCAD_Util.cmake 2016-10-11 17:34:21 UTC (rev
69022)
@@ -238,7 +238,7 @@
#---------------------------------------------------------------------------
# Add dependencies to a target, but only if they are defined as targets in
# CMake
-macro(ADD_TARGET_DEPS tname)
+function(ADD_TARGET_DEPS tname)
if(TARGET ${tname})
foreach(target ${ARGN})
if(TARGET ${target})
@@ -246,7 +246,7 @@
endif(TARGET ${target})
endforeach(target ${ARGN})
endif(TARGET ${tname})
-endmacro(ADD_TARGET_DEPS tname)
+endfunction(ADD_TARGET_DEPS tname)
# Local Variables:
# tab-width: 8
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits