mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
misc: get this crap building locally
Looks like my install via vcpkg sets up a different directory structure for hunspell
This commit is contained in:
+3
-1
@@ -14,8 +14,10 @@ find_package(PkgConfig)
|
||||
pkg_check_modules(HUNSPELL hunspell)
|
||||
if( NOT HUNSPELL_FOUND )
|
||||
message("-- Cannot find Hunspell via pkg-config, checking directly...")
|
||||
find_path(HUNSPELL_INCLUDE_DIRS hunspell/hunspell.hxx)
|
||||
find_path(HUNSPELL_INCLUDE_DIRS hunspell.hxx)
|
||||
message("-- HUNSPELL_INCLUDE_DIRS = ${HUNSPELL_INCLUDE_DIRS}")
|
||||
find_library(HUNSPELL_LIBRARIES NAMES hunspell libhunspell)
|
||||
message("-- HUNSPELL_LIBRARIES = ${HUNSPELL_LIBRARIES}")
|
||||
if ( ${HUNSPELL_INCLUDE_DIRS} STREQUAL "HUNSPELL_INCLUDE_DIRS-NOTFOUND" )
|
||||
message(FATAL_ERROR "Hunspell cannot be found")
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user