mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
bundled iconv uses const
This commit is contained in:
parent
7d2c054611
commit
6cc83c5072
@ -680,6 +680,7 @@ endif()
|
||||
|
||||
if(LYX_3RDPARTY_BUILD)
|
||||
add_subdirectory(src/3rdparty/libiconv)
|
||||
set(HAVE_ICONV_CONST 1)
|
||||
add_subdirectory(src/3rdparty/zlib)
|
||||
endif()
|
||||
|
||||
|
2
src/3rdparty/libiconv/CMakeLists.txt
vendored
2
src/3rdparty/libiconv/CMakeLists.txt
vendored
@ -38,7 +38,7 @@ if(MINGW)
|
||||
add_definitions(-DELOOP=0 -DHAVE_DECL_STRERROR_R=0)
|
||||
endif ()
|
||||
|
||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${BINDIR}/include ${SRCDIR}/include ${SRCDIR}/srclib)
|
||||
include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR} ${BINDIR}/include ${SRCDIR}/include ${SRCDIR}/srclib)
|
||||
add_definitions(-Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -DINSTALLPREFIX=NULL -DNO_XMALLOC -DBUILDING_LIBCHARSET -DINSTALLDIR="" -DLIBDIR="" -DENABLE_RELOCATABLE=1 -DIN_LIBRARY)
|
||||
|
||||
# libcharset
|
||||
|
Loading…
Reference in New Issue
Block a user