]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/ConfigureChecks.cmake
fix Cmake for the .C -> .cpp changes.
[lyx.git] / development / cmake / ConfigureChecks.cmake
index 85a6323895e704d6da989d47d6044a23c69d84de..144ddab075096a7a009d0f6f953b4856642eacef 100644 (file)
@@ -1,3 +1,9 @@
+# This file is part of LyX, the document processor.
+# Licence details can be found in the file COPYING.
+#
+# Copyright (c) 2006, Peter Kümmel, <syntheticpp@gmx.net>
+#
+
 include(CheckIncludeFile)
 include(CheckIncludeFileCXX)
 include(CheckIncludeFiles)
@@ -35,6 +41,7 @@ check_include_files(argz.h HAVE_ARGZ_H)
 
 
 check_function_exists(open HAVE_OPEN)
+check_function_exists(chmod HAVE_CHMOD)
 check_function_exists(close HAVE_CLOSE)
 check_function_exists(popen HAVE_POPEN)
 check_function_exists(pclose HAVE_PCLOSE)
@@ -138,16 +145,6 @@ check_cxx_source_compiles(
        "
 SIZEOF_WCHAR_T_IS_4)
 
-set(PACKAGE lyx)
-set(PACKAGE_VERSION 1.5.0svn)
-
-if(WIN32)
-       set(USE_WINDOWS_PACKAGING 1)
-else(WIN32)
-       set(USE_POSIX_PACKAGING 1)
-endif(WIN32)
-
-