mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Fix CMakeLists.txt so that it will inherit the right python version from anaconda
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -597,7 +597,7 @@ if (COOLPROP_PYTHON_BINARIES)
|
||||
endif()
|
||||
|
||||
add_custom_target(CoolProp
|
||||
COMMAND ${PYTHON_EXECUTABLE} setup.py ${COOLPROP_PYTHON_BINARY_VERSIONS}
|
||||
COMMAND python setup.py ${COOLPROP_PYTHON_BINARY_VERSIONS}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/wrappers/Python
|
||||
)
|
||||
|
||||
@@ -612,7 +612,7 @@ if (COOLPROP_PYTHON_PYPI)
|
||||
endif()
|
||||
|
||||
add_custom_target(CoolProp
|
||||
COMMAND ${PYTHON_EXECUTABLE} prepare_pypi.py ${_AND_UPLOAD} --dist-dir=${CMAKE_INSTALL_PREFIX}/Python
|
||||
COMMAND python prepare_pypi.py ${_AND_UPLOAD} --dist-dir=${CMAKE_INSTALL_PREFIX}/Python
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/wrappers/Python/pypi
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user