diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-11-02 17:00:17 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-11-03 01:09:23 +0000 |
commit | 4c03f4be000fd930a939b042e8d1b68c509ccebd (patch) | |
tree | 98d454a141f630926d2f742bf36c691715f95921 /cmake/modules | |
parent | dd17c69ed91b969e5d2c10e6ab4526d4a417164f (diff) |
CMake: Pass ABSOLUTE to get_filename_component.
Change-Id: Iecfc4aabe332cac930a7fa5bb6e342a55e7bc7b3
Reviewed-on: https://code.wireshark.org/review/11510
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/LocatePythonExecutable.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/LocatePythonExecutable.cmake b/cmake/modules/LocatePythonExecutable.cmake index 603df2000a..e1d7eeba3f 100644 --- a/cmake/modules/LocatePythonExecutable.cmake +++ b/cmake/modules/LocatePythonExecutable.cmake @@ -7,11 +7,13 @@ if(WIN32) if(NOT PYTHON_EXECUTABLE) get_filename_component(PYTHON_EXECUTABLE "[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\Python.exe]" + ABSOLUTE CACHE ) endif() if(NOT PYTHON_EXECUTABLE) get_filename_component(PYTHON_EXECUTABLE "[HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\Python.exe]" + ABSOLUTE CACHE ) endif() if(NOT PYTHON_EXECUTABLE) |