Skip to content

Commit d2b99be

Browse files
committed
force, once again, the python location
1 parent 29f515b commit d2b99be

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.9)
1+
cmake_minimum_required(VERSION 3.18)
22

33
##############################
44
### googletest ###

build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ def build_rlc(
7676
"-DCMAKE_CXX_FLAGS=-Wno-invalid-offsetof -Wno-unused-command-line-argument",
7777
"-DRUN_HAVE_STD_REGEX=1",
7878
"-DPython3_EXECUTABLE:FILEPATH={}".format("./.venv/bin/python"),
79+
"-DPython3_ROOT_DIR={}".format("./.venv/"),
80+
"-DPython_FIND_VIRTUALENV=ONLY",
7981
(
8082
"-DCMAKE_EXE_LINKER_FLAGS=-static-libgcc -static-libstdc++"
8183
if build_type == "Release" and not is_windows and not is_mac

0 commit comments

Comments
 (0)