Skip to content

Commit ca7596e

Browse files
committed
build: update cmake scripts
1 parent 4fa0d50 commit ca7596e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

deps/glslang/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ else()
308308
endif()
309309

310310
if(BUILD_EXTERNAL AND IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/External)
311-
find_host_package(PythonInterp 3 REQUIRED)
311+
find_package(Python3 REQUIRED COMPONENTS Interpreter)
312312

313313
# We depend on these for later projects, so they should come first.
314314
add_subdirectory(External)

deps/glslang/StandAlone/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3232
# POSSIBILITY OF SUCH DAMAGE.
3333

34-
find_host_package(PythonInterp 3 REQUIRED)
34+
find_package(Python3 REQUIRED COMPONENTS Interpreter)
3535

3636
set(GLSLANG_INTRINSIC_H "${GLSLANG_GENERATED_INCLUDEDIR}/glslang/glsl_intrinsic_header.h")
3737
set(GLSLANG_INTRINSIC_PY "${CMAKE_CURRENT_SOURCE_DIR}/../gen_extension_headers.py")

0 commit comments

Comments
 (0)