summaryrefslogtreecommitdiff
path: root/indra/cmake/PNG.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/PNG.cmake')
-rw-r--r--indra/cmake/PNG.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/cmake/PNG.cmake b/indra/cmake/PNG.cmake
new file mode 100644
index 0000000000..b4f7e5e66b
--- /dev/null
+++ b/indra/cmake/PNG.cmake
@@ -0,0 +1,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)