]> 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 b312a09235cd006ff7731b1b860545df8ba292ab..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)