[PATCH] Decrease CMake version

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] Decrease CMake version

Brilliantov Kirill Vladimirovich
Signed-off-by: Brilliantov Kirill Vladimirovich <[hidden email]>
---
 CMakeLists.txt     | 2 +-
 src/CMakeLists.txt | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3695093..0b5308c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,7 +11,7 @@
 # Documents produced by Doxygen are derivative works derived from the
 # input used in their production; they are not affected by this license.
 
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 2.8.11)
 project(doxygen)
 
 option(build_wizard    "Build the GUI frontend for doxygen." OFF)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 155bf77..4532b97 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -17,8 +17,8 @@ file(GLOB LANGUAGE_FILES "${CMAKE_SOURCE_DIR}/src/translator_??.h")
 add_definitions(-DYY_BUF_SIZE=262144 -DYY_READ_BUF_SIZE=262144)
 
 # generate settings.h
-file(GENERATE OUTPUT ${GENERATED_SRC}/settings.h
-CONTENT "#ifndef SETTINGS_H
+file(WRITE ${GENERATED_SRC}/settings.h
+"#ifndef SETTINGS_H
 #define SETTINGS_H
 #define USE_SQLITE3 ${sqlite3}
 #define USE_LIBCLANG ${clang}
@@ -31,8 +31,8 @@ set_source_files_properties(${GENERATED_SRC}/settings.h PROPERTIES GENERATED 1)
 
 
 # generate version.cpp
-file(GENERATE OUTPUT ${GENERATED_SRC}/version.cpp
-    CONTENT "char versionString[]=\"${VERSION}\";"
+file(WRITE ${GENERATED_SRC}/version.cpp
+    "char versionString[]=\"${VERSION}\";"
 )
 set_source_files_properties(${GENERATED_SRC}/version.cpp PROPERTIES GENERATED 1)
 
--
2.1.4


------------------------------------------------------------------------------
_______________________________________________
Doxygen-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-develop
Loading...