diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-08-02 06:31:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 13:31:11 +0300 |
commit | f08b3f2046e9f72369c36fe39e71ced5d1943e8c (patch) | |
tree | 37ad014015ae5a60c51ef66120d17bb6f5604807 /indra/cmake/Hunspell.cmake | |
parent | 05fd13f89635e02745f96416bc44785863c19dde (diff) |
Update to libhunspell 1.7.2-r1 (#2175)
Diffstat (limited to 'indra/cmake/Hunspell.cmake')
-rw-r--r-- | indra/cmake/Hunspell.cmake | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/indra/cmake/Hunspell.cmake b/indra/cmake/Hunspell.cmake index bb037c0237..129679febd 100644 --- a/indra/cmake/Hunspell.cmake +++ b/indra/cmake/Hunspell.cmake @@ -1,4 +1,5 @@ # -*- cmake -*- +include(Linking) include(Prebuilt) include_guard() @@ -8,10 +9,16 @@ add_library( ll::hunspell INTERFACE IMPORTED ) use_system_binary(hunspell) use_prebuilt_binary(libhunspell) if (WINDOWS) - target_link_libraries( ll::hunspell INTERFACE libhunspell) + target_compile_definitions( ll::hunspell INTERFACE HUNSPELL_STATIC=1) + target_link_libraries( ll::hunspell INTERFACE + debug ${ARCH_PREBUILT_DIRS_DEBUG}/libhunspell.lib + optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libhunspell.lib + ) elseif(DARWIN) - target_link_libraries( ll::hunspell INTERFACE hunspell-1.3) + target_link_libraries( ll::hunspell INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/libhunspell-1.7.a + ) elseif(LINUX) - target_link_libraries( ll::hunspell INTERFACE hunspell-1.3) + target_link_libraries( ll::hunspell INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/libhunspell-1.7.a + ) endif() target_include_directories( ll::hunspell SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/hunspell) |