Commit 88a1d105 authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa
Browse files

Only call the boilerplate KDE4 CMake code when building standalone.

This affects the remaining applications: ark, filelight, kcharselect,
kdf, kgpg, ktimer, kwallet, printer-applet and sweeper.


svn path=/branches/work/kdeutils-build-standalone/filelight/; revision=1234149
parent 6a10ce3c
......@@ -20,13 +20,15 @@
project(Filelight)
find_package(KDE4)
include( KDE4Defaults )
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
find_package(KDE4)
include( KDE4Defaults )
include_directories(${KDE4_INCLUDES})
endif()
add_definitions( -DQT_NO_CAST_FROM_ASCII )
add_definitions( -DQT_NO_CAST_TO_ASCII )
include_directories(${KDE4_INCLUDES})
include_directories(src/)
add_subdirectory(src)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment