Skip to content

Commit 5e71f39

Browse files
author
Gabriel Féron
committed
Add python36 to searched NAMES for CentOS compatibility
Signed-off-by: Gabriel Féron <gabriel.feron@here.com>
1 parent 0643ad8 commit 5e71f39

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎flatdata-cpp/ci/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN apk --no-cache add \
1111
gfortran \
1212
make \
1313
musl-dev \
14-
python3-dev \
14+
python3 \
1515
&& pip3 install \
1616
breathe \
1717
sphinx \

‎flatdata-cpp/cmake/flatdata/GenerateSource.cmake‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set(FLATDATA_GENERATOR_PATH ${CMAKE_CURRENT_LIST_DIR}/../../../flatdata-py/gener
77
# @param OUTPUT_FILENAME output filename. Generator is forced to output to the given file.
88
#
99
function(flatdata_generate_source TARGET_NAME SCHEMA_FILENAME OUTPUT_FILENAME)
10-
find_program(PYTHON3_EXECUTABLE python3)
10+
find_program(PYTHON3_EXECUTABLE NAMES python3 python36)
1111
if (NOT PYTHON3_EXECUTABLE)
1212
message(FATAL_ERROR "python3 NOT found.")
1313
endif()

0 commit comments

Comments
 (0)