mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
2f9339c363
commit
86089a10a6
1 changed files with 1 additions and 12 deletions
|
@ -6,20 +6,9 @@ set(PATCH_VERSION "0")
|
||||||
set(SUFFIX_VERSION "")
|
set(SUFFIX_VERSION "")
|
||||||
|
|
||||||
set(VERSION_STRING "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}")
|
set(VERSION_STRING "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}")
|
||||||
if(NOT SUFFIX_VERSION)
|
set(VERSION_STRING_FULL "${VERSION_STRING}")
|
||||||
set(VERSION_STRING_FULL "${VERSION_STRING}")
|
|
||||||
else(NOT SUFFIX_VERSION)
|
|
||||||
set(VERSION_STRING_FULL "${VERSION_STRING}-${SUFFIX_VERSION}")
|
|
||||||
endif(NOT SUFFIX_VERSION)
|
|
||||||
|
|
||||||
find_package(Qt4 4.7.0 REQUIRED)
|
|
||||||
|
|
||||||
find_package(KDE4 4.14.3 REQUIRED)
|
|
||||||
include(KDE4Defaults)
|
|
||||||
|
|
||||||
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
|
||||||
add_definitions(-std=c++0x)
|
add_definitions(-std=c++0x)
|
||||||
include_directories(${KDE4_INCLUDES} ${QT_INCLUDES})
|
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue