diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/cmake/ELFIO.cmake | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-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.cmake | 19 |
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 -*- | ||
2 | include(Prebuilt) | ||
3 | |||
4 | set(ELFIO_FIND_QUIETLY ON) | ||
5 | |||
6 | if (STANDALONE) | ||
7 | include(FindELFIO) | ||
8 | elseif (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") | ||
13 | endif (STANDALONE) | ||
14 | |||
15 | if (ELFIO_FOUND) | ||
16 | add_definitions(-DLL_ELFBIN=1) | ||
17 | else (ELFIO_FOUND) | ||
18 | set(ELFIO_INCLUDE_DIR "") | ||
19 | endif (ELFIO_FOUND) | ||