forked from osmocom/wireshark
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>
This commit is contained in:
parent
dd17c69ed9
commit
4c03f4be00
|
@ -7,11 +7,13 @@ if(WIN32)
|
||||||
if(NOT PYTHON_EXECUTABLE)
|
if(NOT PYTHON_EXECUTABLE)
|
||||||
get_filename_component(PYTHON_EXECUTABLE
|
get_filename_component(PYTHON_EXECUTABLE
|
||||||
"[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\Python.exe]"
|
"[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\Python.exe]"
|
||||||
|
ABSOLUTE CACHE
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if(NOT PYTHON_EXECUTABLE)
|
if(NOT PYTHON_EXECUTABLE)
|
||||||
get_filename_component(PYTHON_EXECUTABLE
|
get_filename_component(PYTHON_EXECUTABLE
|
||||||
"[HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\Python.exe]"
|
"[HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\Python.exe]"
|
||||||
|
ABSOLUTE CACHE
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if(NOT PYTHON_EXECUTABLE)
|
if(NOT PYTHON_EXECUTABLE)
|
||||||
|
|
Loading…
Reference in New Issue