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:
authorCampbell Barton <ideasman42@gmail.com>2011-06-18 19:53:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-06-18 19:53:47 +0400
commit2c68bdb03e47a3a606fd2d57b703a65378f98897 (patch)
tree4a269e137b837de76d639b7997358e45e1dcf96f /CMakeLists.txt
parent5e59d0c8bbeafec203770f81755d04c526f98376 (diff)
cmake: make python search into a find package module.
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)