Always use Python3 cmake package instead of the Python one
This commit is contained in:
parent
02e600c6f3
commit
a41fa6e140
1 changed files with 2 additions and 2 deletions
|
|
@ -46,10 +46,10 @@ function(validate_d3d_compiler target_name)
|
||||||
endif()
|
endif()
|
||||||
set(sdk_compiler ${windows_sdk_loc}/Redist/D3D/${modules_subdir}/d3dcompiler_47.dll)
|
set(sdk_compiler ${windows_sdk_loc}/Redist/D3D/${modules_subdir}/d3dcompiler_47.dll)
|
||||||
|
|
||||||
find_package(Python REQUIRED)
|
find_package(Python3 REQUIRED)
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND
|
COMMAND
|
||||||
${Python_EXECUTABLE}
|
${Python3_EXECUTABLE}
|
||||||
${cmake_helpers_loc}/validate_d3d_compiler.py
|
${cmake_helpers_loc}/validate_d3d_compiler.py
|
||||||
${sdk_compiler}
|
${sdk_compiler}
|
||||||
OUTPUT_VARIABLE key
|
OUTPUT_VARIABLE key
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue