e4e2266d9c
-cleanup the toplevel CMakeLists.txt a bit -remove include_directories( CMAKE_CURRENT_SOURCE_DIR CMAKE_CURRENT_BINARY_DIR) in the subdirs, since this is done now automatically by cmake (the CMAKE_INCLUDE_CURRENT_DIR option -include_directories(KDE4_INCLUDES) in the toplevel CMakeLists.txt, so it doesn't have to be done in every subdir Alex svn path=/trunk/KDE/kdebase/workspace/; revision=539914 The following changes were in SVN, but were removed from git: M wallpapers/CMakeLists.txt
44 lines
882 B
CMake
44 lines
882 B
CMake
kde4_header()
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kwmtheme_SRCS main.cpp )
|
|
|
|
kde4_automoc(${kwmtheme_SRCS})
|
|
|
|
kde4_add_executable(kwmtheme ${kwmtheme_SRCS})
|
|
|
|
target_link_libraries(kwmtheme ${KDE4_KDECORE_LIBS} )
|
|
|
|
install(TARGETS kwmtheme DESTINATION bin)
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
kde4_footer()
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
#
|
|
## set the include path for X, qt and KDE
|
|
#INCLUDES= $(all_includes)
|
|
#
|
|
######## This part is very kwmtheme specific
|
|
## you can add here more. This one gets installed
|
|
#bin_PROGRAMS = kwmtheme
|
|
#
|
|
## Which sources should be compiled for kwmtheme.
|
|
#kwmtheme_SOURCES = main.cpp
|
|
#
|
|
## the library search path.
|
|
#kwmtheme_LDFLAGS = $(all_libraries) $(KDE_RPATH)
|
|
#
|
|
## the libraries to link against. Be aware of the order. First the libraries,
|
|
## that depend on the following ones.
|
|
#kwmtheme_LDADD = $(LIB_KDECORE)
|
|
#
|