Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 3 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 089993ba917..c4863ea2981 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -317,16 +317,9 @@ if(UNIX AND NOT APPLE)
# No way to set py32. remove for now.
# find_package(PythonLibs)
- # defines...
-
- # PYTHON_VERSION
- # PYTHON_INCLUDE_DIRS
- # PYTHON_LIBRARY
- # PYTHON_LIBPATH
- # PYTHON_LINKFLAGS
-
- include(build_files/cmake/FindPythonLibsUnix.cmake)
-
+ # Use our own instead, since wothout py is such a rare case,
+ # require this package
+ find_package(PythonLibsUnix REQUIRED)
endif()
if(WITH_SDL)