kde-extraapps/ksystemlog/CMakeLists.txt
Ivailo Monev 803e130853 ksystemlog: rework build system to fix some bugs
it fixes build with LTO and removes the need to workaround CMake automatic UIC logic
2020-02-05 02:46:39 +00:00

25 lines
545 B
CMake

project(KSystemLog)
project(ark)
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
find_package(KDE4 4.18.0 REQUIRED)
include(KDE4Defaults)
include_directories(${KDE4_INCLUDES})
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
endif()
include(CheckIncludeFile)
include(CheckIncludeFiles)
include(CheckSymbolExists)
include(CheckFunctionExists)
include(CheckLibraryExists)
include(CheckTypeSize)
########### Subfolders ##########
add_subdirectory(src)
if(ENABLE_TESTING)
add_subdirectory(tests)
endif()