mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 09:10:06 +00:00
Ensure conan can be found in the virtual environment
This commit is contained in:
parent
cb81287c08
commit
8a56d3deed
1 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,9 @@ macro(scwx_python_setup)
|
||||||
set(Python3_EXECUTABLE "$ENV{VIRTUAL_ENV}/bin/python")
|
set(Python3_EXECUTABLE "$ENV{VIRTUAL_ENV}/bin/python")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Add virtual environment to program search paths
|
||||||
|
set(CMAKE_PROGRAM_PATH "$ENV{VIRTUAL_ENV}/bin" ${CMAKE_PROGRAM_PATH})
|
||||||
|
|
||||||
message(STATUS "Using virtual environment: $ENV{VIRTUAL_ENV}")
|
message(STATUS "Using virtual environment: $ENV{VIRTUAL_ENV}")
|
||||||
else()
|
else()
|
||||||
message(STATUS "Python virtual environment undefined")
|
message(STATUS "Python virtual environment undefined")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue