kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23105
[PATCH 17/19] FindwxWidgets.cmake: Use ENV foo rather than ENV{foo}
---
CMakeModules/FindwxWidgets.cmake | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeModules/FindwxWidgets.cmake b/CMakeModules/FindwxWidgets.cmake
index 7d8007c..f6ff9ab 100644
--- a/CMakeModules/FindwxWidgets.cmake
+++ b/CMakeModules/FindwxWidgets.cmake
@@ -445,12 +445,12 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
find_path(wxWidgets_ROOT_DIR
NAMES include/wx/wx.h
PATHS
- $ENV{wxWidgets_ROOT_DIR}
- $ENV{WXWIN}
+ ENV wxWidgets_ROOT_DIR
+ ENV WXWIN
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\wxWidgets_is1;Inno Setup: App Path]" # WX 2.6.x
C:/
D:/
- $ENV{ProgramFiles}
+ ENV ProgramFiles
PATH_SUFFIXES
wxWidgets-3.0.2
wxWidgets-3.0.1
Follow ups
References
-
[PATCH 00/19] FindwxWidgets.cmake updates
From: Simon Richter, 2016-02-13
-
[PATCH 01/19] FindwxWidgets.cmake: Remove arguments from else() and end*()
From: Simon Richter, 2016-02-13
-
[PATCH 02/19] FindwxWidgets.cmake: remove a few dbg_msg() invocations
From: Simon Richter, 2016-02-13
-
[PATCH 03/19] FindwxWidgets.cmake: Use uppercase for DBG_MSG macro
From: Simon Richter, 2016-02-13
-
[PATCH 04/19] FindwxWidgets.cmake: Show line number in debug output
From: Simon Richter, 2016-02-13
-
[PATCH 05/19] FindwxWidgets.cmake: Use uppercase for macro names
From: Simon Richter, 2016-02-13
-
[PATCH 06/19] FindwxWidgets.cmake: Use lowercase for CMake builtins
From: Simon Richter, 2016-02-13
-
[PATCH 07/19] FindwxWidgets.cmake: Fix indentation
From: Simon Richter, 2016-02-13
-
[PATCH 08/19] FindwxWidgets.cmake: Look for versioned wx-config scripts
From: Simon Richter, 2016-02-13
-
[PATCH 09/19] FindwxWidgets.cmake: documentation for variables
From: Simon Richter, 2016-02-13
-
[PATCH 10/19] FindwxWidgets.cmake: Expect directory layout for MSVC 64 bit
From: Simon Richter, 2016-02-13
-
[PATCH 11/19] FindwxWidgets.cmake: Simplify MATCHES
From: Simon Richter, 2016-02-13
-
[PATCH 12/19] FindwxWidgets.cmake: Improve regex for version number matches
From: Simon Richter, 2016-02-13
-
[PATCH 13/19] FindwxWidgets.cmake: Determine version even when not asked to
From: Simon Richter, 2016-02-13
-
[PATCH 14/19] FindwxWidgets.cmake: Drop nonsensical assignment
From: Simon Richter, 2016-02-13
-
[PATCH 15/19] FindwxWidgets.cmake: Do not explicitly declare FOUND_VAR, unnecessary
From: Simon Richter, 2016-02-13
-
[PATCH 16/19] FindwxWidgets.cmake: Reformat documentation
From: Simon Richter, 2016-02-13