Revision: 69949
          http://sourceforge.net/p/brlcad/code/69949
Author:   starseeker
Date:     2017-07-15 21:29:08 +0000 (Sat, 15 Jul 2017)
Log Message:
-----------
verbose directory adding can be a function

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

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2017-07-15 21:25:05 UTC (rev 69948)
+++ brlcad/trunk/CMakeLists.txt 2017-07-15 21:29:08 UTC (rev 69949)
@@ -2676,7 +2676,7 @@
 mark_as_advanced(BUILD_TESTING)
 
 # We've done the toplevel configure steps, now add the subdirectories
-macro(verbose_add_subdirectory root dir)
+function(verbose_add_subdirectory root dir)
   if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dir})
     if(BRLCAD_PRINT_MSGS)
       if(NOT "${root}" STREQUAL "")
@@ -2702,7 +2702,7 @@
       endif(NOT "${root}" STREQUAL "")
     endif(BRLCAD_PRINT_MSGS)
   endif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dir})
-endmacro()
+endfunction()
 
 verbose_add_subdirectory("" src)
 verbose_add_subdirectory("" include)

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

Reply via email to