Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Fix build when libtiff exists on system

Michael Cullenb49802832b94
diff --git a/toonz/sources/CMakeLists.txt b/toonz/sources/CMakeLists.txt
index a1749d915..c8e6e2d1b 100644
--- a/toonz/sources/CMakeLists.txt
+++ b/toonz/sources/CMakeLists.txt
@@ -184,6 +184,8 @@ else()
message("LZO:" ${LZO_INCLUDE_DIR})
endif()
+include_directories(BEFORE ${TIFF_INCLUDE_DIR})
+
find_path(BOOST_ROOT include/boost boost HINTS ${THIRDPARTY_LIBS_HINTS} PATH_SUFFIXES boost155/1.55.0_1 boost/boost_1_55_0/)
find_package(Boost 1.55 EXACT REQUIRED)