mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
Cmake build: Add LINK_LIBRARIES to check for HUNSPELL CXX ABI. Needed by XCode
The trick with faking the link command does not work with XCode see: https://cmake.org/pipermail/cmake/2010-May/037132.html Spotted by Patrick (pdvisschere@edpnet.be)
This commit is contained in:
parent
5e436ce9e5
commit
350a9daf56
@ -93,7 +93,7 @@ if(HUNSPELL_FOUND)
|
|||||||
"${HunspellTestFile}"
|
"${HunspellTestFile}"
|
||||||
CMAKE_FLAGS
|
CMAKE_FLAGS
|
||||||
"-DINCLUDE_DIRECTORIES:STRING=${HUNSPELL_INCLUDE_DIR}"
|
"-DINCLUDE_DIRECTORIES:STRING=${HUNSPELL_INCLUDE_DIR}"
|
||||||
"-DCMAKE_CXX_LINK_EXECUTABLE='${CMAKE_COMMAD} echo not linking now...'"
|
LINK_LIBRARIES ${HUNSPELL_LIBRARY}
|
||||||
OUTPUT_VARIABLE LOG2)
|
OUTPUT_VARIABLE LOG2)
|
||||||
|
|
||||||
message(STATUS "HAVE_HUNSPELL_CXXABI = ${HAVE_HUNSPELL_CXXABI}")
|
message(STATUS "HAVE_HUNSPELL_CXXABI = ${HAVE_HUNSPELL_CXXABI}")
|
||||||
|
Loading…
Reference in New Issue
Block a user