Merge pull request #151 from kogaki/fix/cmake_png_include

Fix cmake to be able to search custom libpng include path
This commit is contained in:
tomosu 2016-04-08 20:25:58 +09:00
commit 5545c5bfbd

View file

@ -184,7 +184,7 @@ else()
message("LZO:" ${LZO_INCLUDE_DIR})
endif()
include_directories(BEFORE ${TIFF_INCLUDE_DIR})
include_directories(BEFORE ${TIFF_INCLUDE_DIR} ${PNG_INCLUDE_DIRS})
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)