Am Montag, 29. Dezember 2014 um 11:43:35, schrieb Stephan Witt <st.w...@gmx.net> > Am 29.12.2014 um 09:30 schrieb Kornel Benko <kor...@lyx.org>: > > > Am Montag, 29. Dezember 2014 um 02:51:47, schrieb Stephan Witt > > <st.w...@gmx.net> > >> On Mac OS X 10.10.1 (Yosemite) I created a Xcode project with cmake. > >> The final link command fails with a reference to e.g. „_libiconv_close“. > >> I cannot find the libiconv_close string in the LyX code base. This should > >> be „iconv_close“ only - as it is used in docstream.cpp and unicode.cpp. > >> The libiconv.dylib shared library (containing the „_iconv_close“ symbol) > >> is included in the linker command line. > >> > >> The build process with autotools succeeds. > > > > This probably is the new test command check_ExternalTransforms. > > > > You could add > > target_link_libraries(check_ExternalTransforms ${ICONV_LIBRARY}) > > > > in src/tests/CMakeLists.txt:55 > > > > For linux not needed … > > On Mac OS X 10.8.5 it is needed, thanks. > Unfortunately it does not cure the problem on 10.10.1 (Yosemite) > > Stephan
Maybe because of lack of if(APPLE) target_link_libraries(check_ExternalTransforms "-bind_at_load") if(LYX_COCOA) target_link_libraries(check_ExternalTransforms "-framework Cocoa") else() target_link_libraries(check_ExternalTransforms "-framework AppKit") endif() endif() ? Kornel
signature.asc
Description: This is a digitally signed message part.