Salome HOME
projects
/
tools
/
libbatch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
046ab20
)
Python3 porting: find python with CMake-3.3 version.
gdd/python3_dev
author
rnv
<rnv@opencascade.com>
Wed, 24 May 2017 07:34:03 +0000
(10:34 +0300)
committer
rnv
<rnv@opencascade.com>
Wed, 24 May 2017 07:34:03 +0000
(10:34 +0300)
CMakeModules/FindLibbatchPython.cmake
patch
|
blob
|
history
diff --git
a/CMakeModules/FindLibbatchPython.cmake
b/CMakeModules/FindLibbatchPython.cmake
index fa2900c6b40be6b9564d7a5e2d4c6da66e299d81..8efdef4a92186b6c317cddc49757d7d953659c26 100644
(file)
--- a/
CMakeModules/FindLibbatchPython.cmake
+++ b/
CMakeModules/FindLibbatchPython.cmake
@@
-47,6
+47,10
@@
ENDIF()
# Make cache entry
SET(PYTHON_ROOT_DIR "${_dflt_value}" CACHE PATH "Path to Python directory (interpreter and libs)")
+# python 3
+SET(PythonInterp_FIND_VERSION 3)
+SET(PythonInterp_FIND_VERSION_MAJOR 3)
+
# 2. Find package - config mode first (i.e. looking for XYZ-config.cmake)
IF(WIN32)
IF(CMAKE_BUILD_TYPE STREQUAL Debug)