aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/ELFIO.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake/ELFIO.cmake')
-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)