Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-ilan committed Feb 1, 2025
1 parent 982479a commit 432ad68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@ IF (NO_VENV)
message(" ℹ️ Found Python ${Python3_VERSION}")
set(PYTHON_COMMAND ${Python3_EXECUTABLE})
ELSE ()
find_program(PIPENV_COMMAND pipenv REQUIRED)
IF (NOT DEFINED PIPENV_PATH)
find_program(PIPENV_COMMAND pipenv REQUIRED)
ELSE()
set(PIPENV_COMMAND "${PIPENV_PATH}")
ENDIF ()

IF (NOT PIPENV_COMMAND)
message(FATAL_ERROR "❌ pipenv not found. Please install it with \"pip install pipenv\"")
ENDIF()
message(" 📟 Using pipenv command: ${PIPENV_COMMAND}")

IF (WIN32)
Expand Down

0 comments on commit 432ad68

Please sign in to comment.