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-01-25 17:43:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-25 17:43:13 +0300
commit1bd0db59f4750dd9603d82544f63d89f53288a93 (patch)
treedef1e4adfe1cf7aa3fba0e008ce58951cbe4f813 /source/blender/editors/space_script
parentda2b4901981e4180f763f45bf8e3bd4262539ad2 (diff)
use cmake defined names for jpeg, png, zlib and python libs, building on *nix with non-standard libjpeg/png/zlib locations was broken.
in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
Diffstat (limited to 'source/blender/editors/space_script')
-rw-r--r--source/blender/editors/space_script/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_script/CMakeLists.txt b/source/blender/editors/space_script/CMakeLists.txt
index ddfd3a69d9e..1427e814b41 100644
--- a/source/blender/editors/space_script/CMakeLists.txt
+++ b/source/blender/editors/space_script/CMakeLists.txt
@@ -39,7 +39,7 @@ set(SRC
)
if(WITH_PYTHON)
- list(APPEND INC ${PYTHON_INC} ../../python)
+ list(APPEND INC ${PYTHON_INCLUDE_DIRS} ../../python)
add_definitions(-DWITH_PYTHON)
endif()