mirror of https://github.com/cutefishos/appmotor
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
470 B
CMake
20 lines
470 B
CMake
# Set sources
|
|
set(SRC main.c)
|
|
|
|
# This is needed for MeeGo only?
|
|
pkg_check_modules(XI xi REQUIRED)
|
|
include_directories(${XI_INCLUDE_DIRS})
|
|
|
|
pkg_check_modules(X11 x11 REQUIRED)
|
|
include_directories(${X11_INCLUDE_DIRS})
|
|
|
|
pkg_check_modules(XTST xtst REQUIRED)
|
|
include_directories(${XTST_INCLUDE_DIRS})
|
|
|
|
link_libraries(${X11_LDFLAGS} ${XTST_LDFLAGS} ${XI_LDFLAGS})
|
|
add_executable(fala_pixelchanged ${SRC})
|
|
|
|
# Install
|
|
install(PROGRAMS fala_pixelchanged DESTINATION /usr/bin/)
|
|
|