Skip to content

Commit

Permalink
fix ?
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Sep 6, 2024
1 parent 399959c commit 10b88a2
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions ostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,16 +255,17 @@ endif()
# ========================================================================================
## hep_ml
# ========================================================================================
##
find_python_module ( hep_ml QUIET )
if ( NOT ${PY_hep_ml_FOUND} )
execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pip install hep_ml ${PIP_ARGS})
endif()
find_python_module ( hep_ml QUIET )
if ( NOT ${PY_hep_ml_FOUND} )
message ( "----> warning (optional) hep_ml is NOT found!" )
if ( ${PYTHON_VERSION} VERSION_LESS "3.12" )
find_python_module ( hep_ml QUIET )
if ( NOT ${PY_hep_ml_FOUND} )
execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pip install hep_ml ${PIP_ARGS})
endif()
find_python_module ( hep_ml QUIET )
if ( NOT ${PY_hep_ml_FOUND} )
message ( "----> warning (optional) hep_ml is NOT found!" )
endif()
endif()

# =========================================================================================
## INSTALLATION
# =========================================================================================
Expand Down

0 comments on commit 10b88a2

Please sign in to comment.