diff options
author | Patrick Sapinski | 2010-08-24 03:04:20 -0400 |
---|---|---|
committer | McCabe Maxsted | 2010-08-30 17:04:59 -0700 |
commit | ded1245db74ae4c97d174c5779f8572ee2f032fa (patch) | |
tree | f42c33f233ed68e715a0ac4c74ddc043f43a68da /linden/indra/cmake/JsonCpp.cmake | |
parent | Added debug setting UseLegacyChatLogsFolder for saving chat.txt and IM logs i... (diff) | |
download | meta-impy-ded1245db74ae4c97d174c5779f8572ee2f032fa.zip meta-impy-ded1245db74ae4c97d174c5779f8572ee2f032fa.tar.gz meta-impy-ded1245db74ae4c97d174c5779f8572ee2f032fa.tar.bz2 meta-impy-ded1245db74ae4c97d174c5779f8572ee2f032fa.tar.xz |
added spellcheck + translation from Emerald Viewer. references to modularsystems.sl should be changed!
Diffstat (limited to 'linden/indra/cmake/JsonCpp.cmake')
-rw-r--r-- | linden/indra/cmake/JsonCpp.cmake | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/linden/indra/cmake/JsonCpp.cmake b/linden/indra/cmake/JsonCpp.cmake new file mode 100644 index 0000000..fe6369d --- /dev/null +++ b/linden/indra/cmake/JsonCpp.cmake | |||
@@ -0,0 +1,28 @@ | |||
1 | # -*- cmake -*- | ||
2 | |||
3 | include(Prebuilt) | ||
4 | |||
5 | set(JSONCPP_FIND_QUIETLY ON) | ||
6 | set(JSONCPP_FIND_REQUIRED ON) | ||
7 | |||
8 | if (STANDALONE) | ||
9 | include(FindJsonCpp) | ||
10 | else (STANDALONE) | ||
11 | use_prebuilt_binary(jsoncpp) | ||
12 | if (WINDOWS) | ||
13 | if (MSVC80) | ||
14 | set(JSONCPP_LIBRARIES | ||
15 | debug json_vc80d | ||
16 | optimized json_vc80) | ||
17 | elseif (MSVC90) | ||
18 | set(JSONCPP_LIBRARIES | ||
19 | debug json_vc90d | ||
20 | optimized json_vc90) | ||
21 | endif(MSVC80) | ||
22 | elseif (DARWIN) | ||
23 | set(JSONCPP_LIBRARIES json_mac-universal-gcc_libmt) | ||
24 | elseif (LINUX) | ||
25 | set(JSONCPP_LIBRARIES jsoncpp) | ||
26 | endif (WINDOWS) | ||
27 | set(JSONCPP_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/jsoncpp) | ||
28 | endif (STANDALONE) | ||