kwin/clients/kwmtheme/cli_installer/CMakeLists.txt
André Wöbbeking 0d93c941a9 install executables with the install command instead of install_files/targets.
when you install scripts with install(PROGRAMS ...) they're installed executable.

svn path=/trunk/KDE/kdebase/workspace/; revision=538074
2006-05-06 17:53:08 +00:00

44 lines
921 B
CMake

kde4_header()
include_directories( ${KDE4_INCLUDES} )
########### 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)
#