Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit e86d1d7

Browse files
authored
Use PYTHON_EXECUTABLE instead of python and updated mod2c (#324)
1 parent 9423045 commit e86d1d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coreneuron/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ endif()
140140
# =============================================================================
141141
add_custom_command(OUTPUT "${KINDERIV_HEADER_FILE}"
142142
DEPENDS ${NMODL_INBUILT_MOD_OUTPUTS} "${KINDERIV_PYTHON_SCRIPT}"
143-
COMMAND python ${KINDERIV_PYTHON_SCRIPT} ${CMAKE_CURRENT_BINARY_DIR}
143+
COMMAND ${PYTHON_EXECUTABLE} ${KINDERIV_PYTHON_SCRIPT} ${CMAKE_CURRENT_BINARY_DIR}
144144
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
145145
COMMENT "Generating kinderiv.h by inspecting MOD files")
146146
add_custom_target(kin_deriv_header DEPENDS "${KINDERIV_HEADER_FILE}")

0 commit comments

Comments
 (0)