Am Donnerstag, 12. Mai 2011 schrieb kuem...@lyx.org:
> Modified: lyx-devel/trunk/CMakeLists.txt
> ===========================================================================
> === --- lyx-devel/trunk/CMakeLists.txt      Thu May 12 23:48:11
> 2011        (r38731) +++ lyx-devel/trunk/CMakeLists.txt      Thu May 12
> 23:55:24 2011        (r38732) @@ -340,7 +340,9 @@
>         # find getext when configuring
>         list(APPEND CMAKE_REQUIRED_LIBRARIES ${LIBINTL_LIBRARIES})
>         # on mac use iconv also form ports
> -       get_filename_component(ICONV_RELATIVE_TO_LIBINTL ${LIBINTL_LIBRARIES} 
> PATH) 
> +       if(DEFINED LIBINTL_LIBRARIES)
> +               get_filename_component(ICONV_RELATIVE_TO_LIBINTL
> ${LIBINTL_LIBRARIES} PATH)
> +       endif()
>  else()
>         if(LYX_NLS)
>                 add_subdirectory(intl "${TOP_BINARY_DIR}/intl")

Shouldn't be 
         list(APPEND CMAKE_REQUIRED_LIBRARIES ${LIBINTL_LIBRARIES})
inside the 
         if(DEFINED LIBINTL_LIBRARIES)
?

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to