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.
This commit is contained in:
Campbell Barton
2011-01-25 14:43:13 +00:00
parent da2b490198
commit 1bd0db59f4
23 changed files with 59 additions and 58 deletions

View File

@@ -26,8 +26,8 @@
set(INC
extern
${PNG_INC}
${ZLIB_INC}
${PNG_INCLUDE_DIR}
${ZLIB_INCLUDE_DIRS}
)
set(SRC