0d93c941a9
when you install scripts with install(PROGRAMS ...) they're installed executable. svn path=/trunk/KDE/kdebase/workspace/; revision=538074
35 lines
699 B
CMake
35 lines
699 B
CMake
kde4_header()
|
|
include_directories( ${KDE4_INCLUDES} )
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kwin_killer_helper_SRCS killer.cpp )
|
|
|
|
kde4_automoc(${kwin_killer_helper_SRCS})
|
|
|
|
kde4_add_executable(kwin_killer_helper ${kwin_killer_helper_SRCS})
|
|
|
|
target_link_libraries(kwin_killer_helper ${KDE4_KDEUI_LIBS} )
|
|
|
|
install(TARGETS kwin_killer_helper DESTINATION bin)
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
kde4_footer()
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
#INCLUDES = $(all_includes)
|
|
#
|
|
#bin_PROGRAMS = kwin_killer_helper
|
|
#
|
|
#kwin_killer_helper_SOURCES = killer.cpp
|
|
#kwin_killer_helper_LDADD = $(LIB_KDEUI)
|
|
#kwin_killer_helper_LDFLAGS = $(all_libraries) $(KDE_RPATH)
|
|
#
|
|
#METASOURCES = AUTO
|