mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-07 10:40:16 +00:00
...
This commit is contained in:
parent
a19a6b349b
commit
405b8188ff
@ -5,7 +5,11 @@ project(pocketpy)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
||||
if (${CMAKE_VERSION} VERSION_LESS "3.12.0")
|
||||
set(Python3_EXECUTABLE "python3")
|
||||
else()
|
||||
find_package(Python3 COMPONENTS Interpreter)
|
||||
endif()
|
||||
|
||||
execute_process(
|
||||
COMMAND ${Python3_EXECUTABLE} prebuild.py
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user