3 # libgnuintl.h.in => libintl.h
4 configure_file(libgnuintl.h ${CMAKE_CURRENT_BINARY_DIR}/libgnuintl.h COPYONLY)
5 configure_file(libgnuintl.h ${CMAKE_CURRENT_BINARY_DIR}/libintl.h COPYONLY)
12 -DENABLE_RELOCATABLE=1
15 -Dset_relocation_prefix=libintl_set_relocation_prefix
16 -Drelocate=libintl_relocate
17 -DDEPENDS_ON_LIBICONV=1
24 -DLOCALEDIR="${LOCALE_DIR}"
25 -DLOCALE_ALIAS_PATH="${LOCALE_DIR}"
26 -DLIBDIR="${TOP_SRC_DIR}"
27 -DINSTALLDIR="${PREFIX}"
31 -DLOCALEDIR=\\"${LOACLE_DIR}\\"
32 -DLOCALE_ALIAS_PATH=\\"${LOACLE_DIR}\\"
33 -DLIBDIR=\\"${TOP_SRC_DIR}\\"
34 -DINSTALLDIR=\\"${PREFIX}\\"
39 file(GLOB intl_headers ${TOP_SRC_DIR}/intl/*.h)
67 lyx_add_path(intl_sources ${TOP_SRC_DIR}/intl)
69 include_directories(${TOP_SRC_DIR}/intl ${CMAKE_CURRENT_BINARY_DIR})
72 include_directories(${ICONV_INCLUDE_DIR})
75 add_library(intl STATIC ${intl_sources} ${intl_headers})
78 target_link_libraries(intl ${ICONV_LIBRARY})