A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to find python3 to please tesh.py
[simgrid.git]
/
tools
/
cmake
/
MaintainerMode.cmake
diff --git
a/tools/cmake/MaintainerMode.cmake
b/tools/cmake/MaintainerMode.cmake
index
d9b652a
..
233fcec
100644
(file)
--- a/
tools/cmake/MaintainerMode.cmake
+++ b/
tools/cmake/MaintainerMode.cmake
@@
-10,9
+10,7
@@
set(FLEX_MIN_PATCH 39)
# the rest should only be changed if you understand what you're doing
if(enable_maintainer_mode AND NOT WIN32)
# the rest should only be changed if you understand what you're doing
if(enable_maintainer_mode AND NOT WIN32)
- find_program(PYTHON_EXE NAMES python)
- mark_as_advanced(PYTHON_EXE)
- if (PYTHON_EXE)
+ if (PYTHON_EXECUTABLE)
add_custom_command(
OUTPUT
${CMAKE_HOME_DIRECTORY}/src/simix/popping_generated.cpp
add_custom_command(
OUTPUT
${CMAKE_HOME_DIRECTORY}/src/simix/popping_generated.cpp
@@
-25,7
+23,7
@@
if(enable_maintainer_mode AND NOT WIN32)
${CMAKE_HOME_DIRECTORY}/src/simix/simcalls.in
COMMENT "Generating simcalls source files"
${CMAKE_HOME_DIRECTORY}/src/simix/simcalls.in
COMMENT "Generating simcalls source files"
- COMMAND ${PYTHON_EXE} simcalls.py
+ COMMAND ${PYTHON_EXE
CUTABLE
} simcalls.py
WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}/src/simix/
)
WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}/src/simix/
)