diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llmath/llmath.h | 4 | ||||
| -rw-r--r-- | indra/llprimitive/CMakeLists.txt | 14 | ||||
| -rw-r--r-- | indra/newview/CMakeLists.txt | 2 | 
3 files changed, 13 insertions, 7 deletions
| diff --git a/indra/llmath/llmath.h b/indra/llmath/llmath.h index fa315291a3..a72993a21a 100644 --- a/indra/llmath/llmath.h +++ b/indra/llmath/llmath.h @@ -358,10 +358,14 @@ inline F32 snap_to_sig_figs(F32 foo, S32 sig_figs)      return new_foo;  } +#ifdef __GNUC__ +using std::lerp; +#else  inline F32 lerp(F32 a, F32 b, F32 u)  {      return a + ((b - a) * u);  } +#endif  inline F32 lerp2d(F32 x00, F32 x01, F32 x10, F32 x11, F32 u, F32 v)  { diff --git a/indra/llprimitive/CMakeLists.txt b/indra/llprimitive/CMakeLists.txt index e9f9e06e1f..8d2e592a41 100644 --- a/indra/llprimitive/CMakeLists.txt +++ b/indra/llprimitive/CMakeLists.txt @@ -12,16 +12,18 @@ include(GLM)  include(TinyGLTF)  if(LINUX OR CMAKE_SYSTEM_NAME MATCHES FreeBSD ) +  set_property(DIRECTORY APPEND +    PROPERTY CMAKE_CONFIGURE_DEPENDS ${CMAKE_SOURCE_DIR}/../patches/collada-dom-v2.3-r8.patch)    prepare_thirdparty( -	  "https://github.com/secondlife/3p-colladadom/archive/refs/tags/v2.3-r7.tar.gz" -	  "colladadom-v2.3-r7.tar.gz" -	  "3p-colladadom-2.3-r7" -	  "collada-dom-v2.3-r7.patch" -	  "0d7a13531eb0de8c617b48af90c3b5b22c2a0b566069d1a0c36f9602dbfeb9ebab1516556e6dda34645d63354c3c6539375d7e5b8c0b36baba11312d18a3c705" +    "https://github.com/secondlife/3p-colladadom/archive/refs/tags/v2.3-r8.tar.gz" +    "colladadom-v2.3-r8.tar.gz" +    "3p-colladadom-2.3-r8" +    "collada-dom-v2.3-r8.patch" +    "b36dce3b7be4b49f3c8e4d6c9dbf3529f7ed1f28e64ee45be0e77805f06376b95079798616529302d771ab2b76bf06d2f894ca11e6f7f3097c3f7a05a78c474f"    )    set(OPT_COLLADA14 TRUE)    add_subdirectory( -	  "${CMAKE_SOURCE_DIR}/../../3p-colladadom-2.3-r7" "colladadom") +	  "${CMAKE_SOURCE_DIR}/../../3p-colladadom-2.3-r8" "colladadom")    target_include_directories(  	  ll::colladadom INTERFACE  	  ${colladadom_SOURCE_DIR}/include diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 12b9e5cc93..e427d64171 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -2165,7 +2165,7 @@ if (LINUX)              CACHE STRING "RPM package requirements.")          elseif (${LINUX_DISTRO} MATCHES opensuse-tumbleweed)            set(CPACK_RPM_PACKAGE_REQUIRES -            "libapr-util1-0, libboost_fiber1_86_0, libboost_program_options1_86_0, libboost_regex1_86_0, libboost_thread1_86_0, expat, libfltk1_3, libGLU1, libhunspell-1_7-0, libnghttp2-14, libSDL2-2_0-0, liburiparser1, libvlc5, vlc-codecs, libvorbis0" +            "libapr-util1-0, libboost_fiber1_87_0, libboost_program_options1_87_0, libboost_regex1_87_0, libboost_thread1_87_0, expat, libfltk1_3, libGLU1, libhunspell-1_7-0, libnghttp2-14, libSDL2-2_0-0, liburiparser1, libvlc5, vlc-codecs, libvorbis0"              CACHE STRING "RPM package requirements.")          endif (${LINUX_DISTRO} MATCHES fedora)        elseif (${LINUX_DISTRO} MATCHES arch) | 
