diff options
author | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2014-09-22 20:01:55 +0300 |
---|---|---|
committer | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2014-09-22 20:01:55 +0300 |
commit | 61e05f912557e3086cd80a10075aeaa6586519be (patch) | |
tree | 273d774f45d2522041c752015dc4247890dfc7e3 /indra/cmake/URIPARSER.cmake | |
parent | 9c4a8951fffb2a649647178f396f01cf68f114fc (diff) |
MAINT-4170 Eliminate homoglyphs in URL hostnames: used 3p-uriparser;
Diffstat (limited to 'indra/cmake/URIPARSER.cmake')
-rw-r--r-- | indra/cmake/URIPARSER.cmake | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/indra/cmake/URIPARSER.cmake b/indra/cmake/URIPARSER.cmake new file mode 100644 index 0000000000..477e142ce5 --- /dev/null +++ b/indra/cmake/URIPARSER.cmake @@ -0,0 +1,22 @@ +# -*- cmake -*- + +set(URIPARSER_FIND_QUIETLY ON) +set(URIPARSER_FIND_REQUIRED ON) + +include(Prebuilt) + +if (STANDALONE) + include(FindURIPARSER) +else (STANDALONE) + use_prebuilt_binary(uriparser) + if (WINDOWS) + set(URIPARSER_LIBRARIES + debug uriparserd + optimized uriparser) + else (WINDOWS) + set(URIPARSER_LIBRARIES z) + endif (WINDOWS) + if (WINDOWS OR LINUX) + set(URIPARSER_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/uriparser) + endif (WINDOWS OR LINUX) +endif (STANDALONE) |