File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.12 ...3.26 )
1
+ cmake_minimum_required (VERSION 3.5 ...4.0 )
2
2
3
3
# MSVC runtime library flags are selected by an abstraction, CMake >= 3.15
4
4
# This policy still need to be set even with cmake_minimum_required() command above.
@@ -483,7 +483,7 @@ if (BUILD_SHARED_LIBS)
483
483
if (DEFINED SYMBOL_OS )
484
484
add_custom_command (
485
485
OUTPUT ${CMAKE_CURRENT_BINARY_DIR} /src/${SYMBOL_FILENAME}
486
- COMMAND ${PYTHON_EXECUTABLE } ${CMAKE_CURRENT_SOURCE_DIR} /src/create_symbols_file.py ${SYMBOL_OS} ${SNDFILE_ABI_VERSION} > ${CMAKE_CURRENT_BINARY_DIR} /src/${SYMBOL_FILENAME}
486
+ COMMAND ${Python_EXECUTABLE } ${CMAKE_CURRENT_SOURCE_DIR} /src/create_symbols_file.py ${SYMBOL_OS} ${SNDFILE_ABI_VERSION} > ${CMAKE_CURRENT_BINARY_DIR} /src/${SYMBOL_FILENAME}
487
487
COMMENT "Generating ${SYMBOL_FILENAME} ..."
488
488
)
489
489
Original file line number Diff line number Diff line change @@ -249,5 +249,5 @@ if (DEFINED ENABLE_STATIC_RUNTIME)
249
249
endif ()
250
250
251
251
if (BUILD_SHARED_LIBS )
252
- find_package (PythonInterp REQUIRED )
252
+ find_package (Python REQUIRED )
253
253
endif ()
You can’t perform that action at this time.
0 commit comments