Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cmake to be able to search custom libpng include path #151

Merged
merged 1 commit into from
Apr 8, 2016

Conversation

kogaki
Copy link
Member

@kogaki kogaki commented Apr 7, 2016

This PR is similar approach as #85 .

I bumped into the problem discussed in #79 . With this fix and some cmake option, I could finally build OpenToonz successfully.

Here's my cmake options

cd toonz/build
CMAKE_PREFIX_PATH=~/Qt5.5.1/5.5/clang_64 cmake \
  -DTIFF_INCLUDE_DIR=../../thirdparty/tiff-4.0.3/libtiff/ \
  -DPNG_PNG_INCLUDE_DIR=../../thirdparty/libpng-1.6.21/  \
  ../sources
make

@kogaki
Copy link
Member Author

kogaki commented Apr 7, 2016

Since -DPNG_PNG_INCLUDE_DIR looks weird, CMakeLists.txt needs more fix.
This commit is just a workaround.

@tomosu
Copy link
Contributor

tomosu commented Apr 8, 2016

I confirmed it works on my environmnet.

@tomosu tomosu merged commit 5545c5b into opentoonz:master Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants