Add tint2-send to cmake
Chris Lee @klee93
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.txt
@@ -286,6 +286,9 @@ add_dependencies( tint2 version )
set_target_properties( tint2 PROPERTIES COMPILE_FLAGS "-Wall -Wpointer-arith -fno-strict-aliasing -pthread -std=${CSTD} ${ASAN_C_FLAGS} ${TRACING_C_FLAGS}" ) set_target_properties( tint2 PROPERTIES LINK_FLAGS "-pthread -fno-strict-aliasing ${ASAN_L_FLAGS} ${BACKTRACE_L_FLAGS} ${TRACING_L_FLAGS}" ) +add_executable(tint2-send src/tint2-send/tint2-send.c) +target_link_libraries(tint2-send ${X11_LIBRARIES}) + install( TARGETS tint2 DESTINATION bin ) install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps ) install( FILES tint2.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications )