summaryrefslogtreecommitdiff
path: root/indra/cmake/EXPAT.cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-13 10:28:46 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-13 10:28:46 +0200
commitd3521b4462195cfe882b2cc8eb4e7c5e948c0fb6 (patch)
treeeee8a16ba63a63f966d725b5b5fe2bf234b25da3 /indra/cmake/EXPAT.cmake
parent07d388f416b64ad5ea6a79d7dee4bf9e6bab7b74 (diff)
Remove obsolete and unmaintained USE_SYSTEMLIBS
Diffstat (limited to 'indra/cmake/EXPAT.cmake')
-rw-r--r--indra/cmake/EXPAT.cmake30
1 files changed, 13 insertions, 17 deletions
diff --git a/indra/cmake/EXPAT.cmake b/indra/cmake/EXPAT.cmake
index 6f6503ca4d..fb0467987b 100644
--- a/indra/cmake/EXPAT.cmake
+++ b/indra/cmake/EXPAT.cmake
@@ -6,20 +6,16 @@ if( TARGET expat::expat )
endif()
create_target( expat::expat INTERFACE IMPORTED )
-if (USESYSTEMLIBS)
- include(FindEXPAT)
-else (USESYSTEMLIBS)
- use_prebuilt_binary(expat)
- if (WINDOWS)
- set_target_libraries( expat::expat libexpatMT )
- set(EXPAT_COPY libexpatMT.dll)
- else (WINDOWS)
- set_target_libraries( expat::expat expat )
- if (DARWIN)
- set(EXPAT_COPY libexpat.1.dylib libexpat.dylib)
- else ()
- set(EXPAT_COPY libexpat.so.1 libexpat.so)
- endif ()
- endif (WINDOWS)
- set_target_include_dirs( expat::expat ${LIBS_PREBUILT_DIR}/include )
-endif (USESYSTEMLIBS)
+use_prebuilt_binary(expat)
+if (WINDOWS)
+ set_target_libraries( expat::expat libexpatMT )
+ set(EXPAT_COPY libexpatMT.dll)
+else (WINDOWS)
+ set_target_libraries( expat::expat expat )
+ if (DARWIN)
+ set(EXPAT_COPY libexpat.1.dylib libexpat.dylib)
+ else ()
+ set(EXPAT_COPY libexpat.so.1 libexpat.so)
+ endif ()
+endif (WINDOWS)
+set_target_include_dirs( expat::expat ${LIBS_PREBUILT_DIR}/include )