diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-06-14 14:00:55 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-06-14 14:00:55 +0800 |
| commit | 7b5b90df5accc8841a0bb5655525dc88214ac904 (patch) | |
| tree | 35c2e5a7284a46b26ccfe2c8b63c06965dd8b1fd | |
| parent | 582462ba123f55cc67f006fe0ecbfbba81311f84 (diff) | |
Fix Dullahan/CEF versions Undefined on Win (& FBSD)
on the About floater. Also, linking to ll::cef should've been
enabled all this time for Windows too (I'm surprised it's been
working anyway).
| -rw-r--r-- | indra/newview/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index e070fb3da3..31345d15fb 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -2202,15 +2202,15 @@ endif () if (ENABLE_MEDIA_PLUGINS) target_link_libraries(${VIEWER_BINARY_NAME} ll::libvlc ) + if (NOT (CMAKE_SYSTEM_NAME MATCHES FreeBSD)) + target_link_libraries(${VIEWER_BINARY_NAME} ll::cef ) + endif () # Tell the viewer source which media-library version headers are # actually available in this build, so version reporting in # llappviewer.cpp is gated on the build configuration rather than on # a CPU/compiler macro. Mirrors the link availability above exactly. target_compile_definitions(${VIEWER_BINARY_NAME} PRIVATE LL_VLC=1) - if (DARWIN OR LINUX) - target_link_libraries(${VIEWER_BINARY_NAME} ll::cef ) - target_compile_definitions(${VIEWER_BINARY_NAME} PRIVATE LL_CEF=1) - endif () + target_compile_definitions(${VIEWER_BINARY_NAME} PRIVATE LL_CEF=1) endif () if (USE_DISCORD) |
