Skip to content

Commit 1deb4ea

Browse files
authored
Merge pull request #1990 from kkang-wr/maint-1.3
v2: CMakeLists.txt: make 2 variables configurable
2 parents 0862f59 + f99c3f1 commit 1deb4ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ endif()
125125
find_package(PythonInterp 3)
126126
find_package(PythonLibs 3)
127127

128-
set(PREFERRED_PYTHON_PATH "${PYTHON_EXECUTABLE}")
129-
set(PYTHON3_PATH "${PYTHON_EXECUTABLE}")
128+
set(PREFERRED_PYTHON_PATH "${PYTHON_EXECUTABLE}" CACHE PATH "Path to preferred Python")
129+
set(PYTHON3_PATH "${PYTHON_EXECUTABLE}" CACHE PATH "Path to Python3")
130130

131131
find_package(RPM)
132132
if(RPM_FOUND)

0 commit comments

Comments
 (0)