mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +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,8 +93,8 @@ if(HUNSPELL_FOUND)
|
||||
"${HunspellTestFile}"
|
||||
CMAKE_FLAGS
|
||||
"-DINCLUDE_DIRECTORIES:STRING=${HUNSPELL_INCLUDE_DIR}"
|
||||
"-DCMAKE_CXX_LINK_EXECUTABLE='${CMAKE_COMMAD} echo not linking now...'"
|
||||
OUTPUT_VARIABLE LOG2)
|
||||
LINK_LIBRARIES ${HUNSPELL_LIBRARY}
|
||||
OUTPUT_VARIABLE LOG2)
|
||||
|
||||
message(STATUS "HAVE_HUNSPELL_CXXABI = ${HAVE_HUNSPELL_CXXABI}")
|
||||
#message(STATUS "LOG2 = ${LOG2}")
|
||||
|
Loading…
Reference in New Issue
Block a user