diff options
author | AiraYumi <aira.youme@airanyumi.net> | 2024-03-30 06:59:21 -0400 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-01 10:43:59 +0300 |
commit | 4173fa1a9ef79c27d39d9ab9dbee46f109fbf510 (patch) | |
tree | eb630ddd7706c265e418a3c8611061fae6ed61fc /indra/cmake/ViewerMiscLibs.cmake | |
parent | cc68803f24d231b89061d855f7bbfe99b99740b9 (diff) |
linux build fix
Diffstat (limited to 'indra/cmake/ViewerMiscLibs.cmake')
-rw-r--r-- | indra/cmake/ViewerMiscLibs.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/cmake/ViewerMiscLibs.cmake b/indra/cmake/ViewerMiscLibs.cmake index cae68fbc11..3e5a37b277 100644 --- a/indra/cmake/ViewerMiscLibs.cmake +++ b/indra/cmake/ViewerMiscLibs.cmake @@ -6,7 +6,8 @@ if (LINUX) add_library( ll::fontconfig INTERFACE IMPORTED ) if( NOT USE_CONAN ) - use_prebuilt_binary(fontconfig) + find_package(Fontconfig REQUIRED) + target_link_libraries( ll::fontconfig INTERFACE Fontconfig::Fontconfig ) else() target_link_libraries( ll::fontconfig INTERFACE CONAN_PKG::fontconfig ) endif() |