summaryrefslogtreecommitdiff
path: root/indra/cmake/PNG.cmake
blob: b4f7e5e66b08487e5efbecccf6e1f854db7b0ea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
# -*- cmake -*-

set(PNG_FIND_QUIETLY ON)
set(PNG_FIND_REQUIRED ON)

if (STANDALONE)
  include(FindPNG)
else (STANDALONE)
  set(PNG_LIBRARIES png12)
  set(PNG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
endif (STANDALONE)