aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/ELFIO.cmake
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/cmake/ELFIO.cmake
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/cmake/ELFIO.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/linden/indra/cmake/ELFIO.cmake b/linden/indra/cmake/ELFIO.cmake
new file mode 100644
index 0000000..e51993b
--- /dev/null
+++ b/linden/indra/cmake/ELFIO.cmake
@@ -0,0 +1,19 @@
1# -*- cmake -*-
2include(Prebuilt)
3
4set(ELFIO_FIND_QUIETLY ON)
5
6if (STANDALONE)
7 include(FindELFIO)
8elseif (LINUX)
9 use_prebuilt_binary(elfio)
10 set(ELFIO_LIBRARIES ELFIO)
11 set(ELFIO_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include)
12 set(ELFIO_FOUND "YES")
13endif (STANDALONE)
14
15if (ELFIO_FOUND)
16 add_definitions(-DLL_ELFBIN=1)
17else (ELFIO_FOUND)
18 set(ELFIO_INCLUDE_DIR "")
19endif (ELFIO_FOUND)