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:
commit
5545c5bfbd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue