Revision: 77819
          http://sourceforge.net/p/brlcad/code/77819
Author:   starseeker
Date:     2020-11-27 17:43:57 +0000 (Fri, 27 Nov 2020)
Log Message:
-----------
Note an update we will need to make CMAKE_IGNORE_PATH effective.

Modified Paths:
--------------
    brlcad/branches/extbuild/misc/CMake/BRLCAD_Install_Prefix.cmake

Modified: brlcad/branches/extbuild/misc/CMake/BRLCAD_Install_Prefix.cmake
===================================================================
--- brlcad/branches/extbuild/misc/CMake/BRLCAD_Install_Prefix.cmake     
2020-11-25 07:38:22 UTC (rev 77818)
+++ brlcad/branches/extbuild/misc/CMake/BRLCAD_Install_Prefix.cmake     
2020-11-27 17:43:57 UTC (rev 77819)
@@ -131,6 +131,14 @@
 # To ensure the previous (and internally set) CMAKE_INSTALL_PREFIX value
 # is available, BRLCAD_PREFIX is used to store the value in the cache.)
 
+# TODO - CMAKE_IGNORE_PATH needs a list of explicit directories, not a
+# list of prefixes - in other words, it ignores EXACTLY the specfied
+# path and not any subdirectories under that path.  We need to use
+# file(GLOB_RECURSE) to check CMAKE_INSTALL_PREFIX for any directories
+# under it, once we've ruled out the standard system directories, and
+# pass the full list in to CMAKE_IGNORE_PATH.  See:
+# https://cmake.org/cmake/help/latest/variable/CMAKE_IGNORE_PATH.html
+
 if(NOT "${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr" AND NOT 
"${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr/local")
        get_filename_component(PATH_NORMALIZED 
"${CMAKE_INSTALL_PREFIX}/${LIB_DIR}" ABSOLUTE)
        if (CMAKE_CONFIGURATION_TYPES)

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