Revision: 69948 http://sourceforge.net/p/brlcad/code/69948 Author: starseeker Date: 2017-07-15 21:25:05 +0000 (Sat, 15 Jul 2017) Log Message: ----------- SetTargetFolder should work as a function... need to check with MSVC
Modified Paths: -------------- brlcad/trunk/CMakeLists.txt Modified: brlcad/trunk/CMakeLists.txt =================================================================== --- brlcad/trunk/CMakeLists.txt 2017-07-15 21:23:55 UTC (rev 69947) +++ brlcad/trunk/CMakeLists.txt 2017-07-15 21:25:05 UTC (rev 69948) @@ -2617,11 +2617,11 @@ set(SRC_OTHER_ADDED_DIRS "" CACHE STRING "initialize 3rd party sub-directories list" FORCE) mark_as_advanced(SRC_OTHER_ADDED_DIRS) -macro(SetTargetFolder targetname folder) +function(SetTargetFolder targetname folder) if(TARGET ${targetname}) set_target_properties(${targetname} PROPERTIES FOLDER "${folder}") endif(TARGET ${targetname}) -endmacro(SetTargetFolder) +endfunction(SetTargetFolder) # Load some CMake macros to handle the special case of third party libraries. include("${BRLCAD_CMAKE_DIR}/ThirdParty.cmake") 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