From 1d8087058c0404a9d5d79973ba3506e7b7b9c323 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sun, 17 Mar 2013 11:55:45 +0100 Subject: [PATCH] Add some required bits --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f60b11..6f7ef24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,18 @@ project(danbooru_client) +set(danbooru_client_VERSION_MAJOR 0) +set(danbooru_client_VERSION_MINOR 1) + find_package(KDE4 REQUIRED) include (KDE4Defaults) +find_package(QJSON REQUIRED) include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} ) +add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) +add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS) + + #add_subdirectory( doc ) add_subdirectory( src ) add_subdirectory( icons )