Build system fixes
This commit is contained in:
parent
46dd3d9688
commit
22253b9ab6
2 changed files with 15 additions and 3 deletions
|
@ -1,11 +1,23 @@
|
|||
project(danbooru_client)
|
||||
|
||||
cmake_minimum_required(VERSION 2.8.6 FATAL_ERROR)
|
||||
|
||||
set(danbooru_client_VERSION_MAJOR 0)
|
||||
set(danbooru_client_VERSION_MINOR 1)
|
||||
|
||||
find_package(KDE4 REQUIRED)
|
||||
find_package(QJSON)
|
||||
|
||||
include (KDE4Defaults)
|
||||
find_package(QJSON REQUIRED)
|
||||
include (FeatureSummary)
|
||||
|
||||
set_package_properties(KDE4 PROPERTIES DESCRIPTION "The KDE libraries"
|
||||
URL "http://www.kde.org" TYPE REQUIRED
|
||||
PURPOSE "Required to build Danbooru Client")
|
||||
set_package_properties(QJSON PROPERTIES DESCRIPTION "The QJSON library"
|
||||
URL "http://qjson.sourceforge.net" TYPE REQUIRED
|
||||
PURPOSE "Required to build Danbooru Client")
|
||||
|
||||
|
||||
include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} )
|
||||
|
||||
|
@ -13,7 +25,8 @@ add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
|||
add_definitions(-DQT_USE_QSTRINGBUILDER)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
||||
|
||||
|
||||
#add_subdirectory( doc )
|
||||
add_subdirectory( src )
|
||||
add_subdirectory( icons )
|
||||
|
||||
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue