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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue