[Cmake-commits] [cmake-commits] king committed cmFindBase.cxx 1.43 1.44

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Jun 8 11:41:11 EDT 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv8603/Source

Modified Files:
	cmFindBase.cxx 
Log Message:
BUG: Fix find_* command calls with no PATHS but new-style options.

  - In cmFindBase when CheckCommonArgument returns true, set newStyle
  - Otherwise if there are no PATHS then the ancient-style compatibility
    mode is enabled and the common argument is treated as a path.


Index: cmFindBase.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindBase.cxx,v
retrieving revision 1.43
retrieving revision 1.44
diff -C 2 -d -r1.43 -r1.44
*** cmFindBase.cxx	6 Jun 2008 13:06:27 -0000	1.43
--- cmFindBase.cxx	8 Jun 2008 15:41:08 -0000	1.44
***************
*** 205,208 ****
--- 205,209 ----
        doingPathSuf = false;
        doingNames = false;
+       newStyle = true;
        }
      else



More information about the Cmake-commits mailing list