summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2013-10-02 15:32:24 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2013-10-02 15:32:24 (GMT)
commit285ac49ab99f5b95d9efa44ea4b46da7441ecfe8 (patch)
tree3f883dab7850450252a7f99213720d55558302c2
parent4944d6a937fe2527a45b2aa064e6fd755ee2c0f5 (diff)
downloadlibcalendaring-285ac49ab99f5b95d9efa44ea4b46da7441ecfe8.tar.gz
For now we're using cmake 2.8.6. for the automoc features.
Fuck you QT4_AUTOMOC.
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 44a4cdb..908cae7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 2.8.6)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wl,--no-undefined" )
@@ -40,6 +40,8 @@ set(INSTALL_TARGETS_DEFAULT_ARGS RUNTIME DESTINATION ${BIN_INSTALL_DIR}
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
)
+
+# Requires cmake 2.8.6
# set(CMAKE_AUTOMOC ON)
add_subdirectory(kdecore)