[vlmc-devel] CMakeLists: update minimum cmake version and automoc
Rohit Yadav
git at videolan.org
Mon Jan 20 19:15:16 CET 2014
vlmc | branch: master | Rohit Yadav <rohit.yadav at wingify.com> | Tue Jan 21 00:02:48 2014 +0530| [d16b817fb3364593b259e0044bcc10a77d4c311f] | committer: Rohit Yadav
CMakeLists: update minimum cmake version and automoc
Signed-off-by: Rohit Yadav <rohit.yadav at wingify.com>
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=d16b817fb3364593b259e0044bcc10a77d4c311f
---
CMakeLists.txt | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8bbf293..aa6035e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,10 +63,15 @@ SITE_NAME(HOSTNAME)
SET(SYSNAME ${CMAKE_SYSTEM}-${CMAKE_SYSTEM_PROCESSOR})
# CMake Settings
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
SET(CMAKE_COLOR_MAKEFILE ON)
SET(CMAKE_VERBOSE_MAKEFILE OFF)
+# Find includes in corresponding build directories
+SET(CMAKE_INCLUDE_CURRENT_DIR ON)
+# Instruct CMake to run moc automatically when needed.
+SET(CMAKE_AUTOMOC ON)
+
# Set path to additional CMake modules
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
More information about the Vlmc-devel
mailing list