[Cmake-commits] [cmake-commits] miguelf committed FindwxWidgets.cmake 1.26 1.27

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Dec 24 04:31:35 EST 2008


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv28399/Modules

Modified Files:
	FindwxWidgets.cmake 
Log Message:
BUG: Fixed placement of initial wxWidgets_FOUND=TRUE statement, which allowed
some cases to breakaway from tests without resetting to FALSE (BUG: 8188).


Index: FindwxWidgets.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindwxWidgets.cmake,v
retrieving revision 1.26
retrieving revision 1.27
diff -C 2 -d -r1.26 -r1.27
*** FindwxWidgets.cmake	20 Oct 2008 15:50:04 -0000	1.26
--- FindwxWidgets.cmake	24 Dec 2008 09:31:33 -0000	1.27
***************
*** 490,495 ****
  
      IF(WX_LIB_DIR)
-       SET(wxWidgets_FOUND TRUE)
- 
        # If building shared libs, define WXUSINGDLL to use dllimport.
        IF(WX_LIB_DIR MATCHES ".*[dD][lL][lL].*")
--- 490,493 ----
***************
*** 510,513 ****
--- 508,513 ----
  
        IF(WX_CONFIGURATION)
+         SET(wxWidgets_FOUND TRUE)
+ 
          # If the selected configuration wasn't found force the default
          # one. Otherwise, use it but still force a refresh for



More information about the Cmake-commits mailing list