]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/modules/FindICONV.cmake
cmake: disbale CPACK by default, it triggers too much requirements
[lyx.git] / development / cmake / modules / FindICONV.cmake
index 194a45ed6c73de2a00f413163e7ea9e40ef46551..3f2e7ce626d3a1b8c2ac508b463a69c9fda4ba4c 100644 (file)
@@ -69,6 +69,7 @@ if(WIN32)
                set(ICONV_FOUND TRUE)
        endif()
 else()
+       include(CheckFunctionExists)
        check_function_exists(iconv HAVE_ICONV_IN_LIBC)
        if(ICONV_INCLUDE_DIR AND HAVE_ICONV_IN_LIBC)
                set(ICONV_FOUND TRUE)
@@ -96,4 +97,4 @@ else()
    endif()
 endif()
 
-mark_as_advanced(ICONV_LIBRARY ICONV_INCLUDE_DIR)
+mark_as_advanced(ICONV_LIBRARY ICONV_INCLUDE_DIR ICONV_DLL ICONV_DLL_HELP)