FindwxWidgets.cmake: Use ENV foo rather than ENV{foo}
This commit is contained in:
parent
9d08d93c26
commit
4c29843813
|
@ -447,12 +447,12 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
|
||||||
find_path(wxWidgets_ROOT_DIR
|
find_path(wxWidgets_ROOT_DIR
|
||||||
NAMES include/wx/wx.h
|
NAMES include/wx/wx.h
|
||||||
PATHS
|
PATHS
|
||||||
$ENV{wxWidgets_ROOT_DIR}
|
ENV wxWidgets_ROOT_DIR
|
||||||
$ENV{WXWIN}
|
ENV WXWIN
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\wxWidgets_is1;Inno Setup: App Path]" # WX 2.6.x
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\wxWidgets_is1;Inno Setup: App Path]" # WX 2.6.x
|
||||||
C:/
|
C:/
|
||||||
D:/
|
D:/
|
||||||
$ENV{ProgramFiles}
|
ENV ProgramFiles
|
||||||
PATH_SUFFIXES
|
PATH_SUFFIXES
|
||||||
wxWidgets-3.0.2
|
wxWidgets-3.0.2
|
||||||
wxWidgets-3.0.1
|
wxWidgets-3.0.1
|
||||||
|
|
Loading…
Reference in New Issue