diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-06-28 16:29:58 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-06-28 16:29:58 +0800 |
commit | ca326b431874c4ed2d958785930950ecbe58b15f (patch) | |
tree | f54a489c8fcaae074462e00561263f40e48120f8 /indra/llwebrtc | |
parent | 4bf5e2321ec97f3487e4f3f03a1d6905197d6edf (diff) |
Install libllwebrtc.so
Diffstat (limited to 'indra/llwebrtc')
-rw-r--r-- | indra/llwebrtc/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llwebrtc/CMakeLists.txt b/indra/llwebrtc/CMakeLists.txt index fd1788c5d4..fb670322ff 100644 --- a/indra/llwebrtc/CMakeLists.txt +++ b/indra/llwebrtc/CMakeLists.txt @@ -59,3 +59,14 @@ ADD_CUSTOM_COMMAND(TARGET llwebrtc POST_BUILD # Add tests if (LL_TESTS) endif (LL_TESTS) + +if (INSTALL) + if (EXISTS ${CMAKE_SYSROOT}/usr/lib/${ARCH}-linux-gnu) + set(_LIB lib/${ARCH}-linux-gnu) + elseif (EXISTS /lib64) + set(_LIB lib64) + else () + set(_LIB lib) + endif () + install(TARGETS ${PROJECT_NAME} DESTINATION ${_LIB}) +endif () |