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/Boost.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 'linden/indra/cmake/Boost.cmake')
-rw-r--r-- | linden/indra/cmake/Boost.cmake | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/linden/indra/cmake/Boost.cmake b/linden/indra/cmake/Boost.cmake new file mode 100644 index 0000000..a7db67c --- /dev/null +++ b/linden/indra/cmake/Boost.cmake | |||
@@ -0,0 +1,49 @@ | |||
1 | # -*- cmake -*- | ||
2 | include(Prebuilt) | ||
3 | |||
4 | set(Boost_FIND_QUIETLY ON) | ||
5 | set(Boost_FIND_REQUIRED ON) | ||
6 | |||
7 | if (STANDALONE) | ||
8 | include(FindBoost) | ||
9 | |||
10 | set(BOOST_PROGRAM_OPTIONS_LIBRARY boost_program_options-mt) | ||
11 | set(BOOST_REGEX_LIBRARY boost_regex-mt) | ||
12 | set(BOOST_SIGNALS_LIBRARY boost_signals-mt) | ||
13 | else (STANDALONE) | ||
14 | use_prebuilt_binary(boost) | ||
15 | set(Boost_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include) | ||
16 | |||
17 | if (WINDOWS) | ||
18 | set(BOOST_VERSION 1_34_1) | ||
19 | if (MSVC71) | ||
20 | set(BOOST_PROGRAM_OPTIONS_LIBRARY | ||
21 | optimized libboost_program_options-vc71-mt-s-${BOOST_VERSION} | ||
22 | debug libboost_program_options-vc71-mt-sgd-${BOOST_VERSION}) | ||
23 | set(BOOST_REGEX_LIBRARY | ||
24 | optimized libboost_regex-vc71-mt-s-${BOOST_VERSION} | ||
25 | debug libboost_regex-vc71-mt-sgd-${BOOST_VERSION}) | ||
26 | set(BOOST_SIGNALS_LIBRARY | ||
27 | optimized libboost_signals-vc71-mt-s-${BOOST_VERSION} | ||
28 | debug libboost_signals-vc71-mt-sgd-${BOOST_VERSION}) | ||
29 | else (MSVC71) | ||
30 | set(BOOST_PROGRAM_OPTIONS_LIBRARY | ||
31 | optimized libboost_program_options-vc80-mt-s-${BOOST_VERSION} | ||
32 | debug libboost_program_options-vc80-mt-sgd-${BOOST_VERSION}) | ||
33 | set(BOOST_REGEX_LIBRARY | ||
34 | optimized libboost_regex-vc80-mt-s-${BOOST_VERSION} | ||
35 | debug libboost_regex-vc80-mt-sgd-${BOOST_VERSION}) | ||
36 | set(BOOST_SIGNALS_LIBRARY | ||
37 | optimized libboost_signals-vc80-mt-s-${BOOST_VERSION} | ||
38 | debug libboost_signals-vc80-mt-sgd-${BOOST_VERSION}) | ||
39 | endif (MSVC71) | ||
40 | elseif (DARWIN) | ||
41 | set(BOOST_PROGRAM_OPTIONS_LIBRARY boost_program_options-mt) | ||
42 | set(BOOST_REGEX_LIBRARY boost_regex-mt) | ||
43 | set(BOOST_SIGNALS_LIBRARY boost_signals-mt) | ||
44 | elseif (LINUX) | ||
45 | set(BOOST_PROGRAM_OPTIONS_LIBRARY boost_program_options-mt) | ||
46 | set(BOOST_REGEX_LIBRARY boost_regex-mt) | ||
47 | set(BOOST_SIGNALS_LIBRARY boost_signals-mt) | ||
48 | endif (WINDOWS) | ||
49 | endif (STANDALONE) | ||