Skip to content

Instantly share code, notes, and snippets.

@aseques
Created May 1, 2012 10:06
Show Gist options
  • Select an option

  • Save aseques/2566985 to your computer and use it in GitHub Desktop.

Select an option

Save aseques/2566985 to your computer and use it in GitHub Desktop.
krita patch
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3e9b7b5..d6e2a0b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -156,6 +156,7 @@ macro_ensure_out_of_source_build("Compiling Calligra inside the source directory
find_package(Perl REQUIRED)
find_package(ZLIB REQUIRED)
find_package(PNG REQUIRED)
+include_directories(${PNG_INCLUDE_DIR})
find_package(Boost REQUIRED) # for pigment and stage
if (NOT Boost_FOUND)
MESSAGE(FATAL_ERROR "Did not find Boost. Boost is required for the core libraries, stage, sheets and krita.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment