Warning, /kdevelop/kdevelop/kdevplatform/util/dbus_socket_transformer/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 check_cxx_source_compiles(" 0003 #include <sys/types.h> 0004 #include <sys/socket.h> 0005 int main() { 0006 int fd; 0007 char b[2]; 0008 send(fd, b, 2, MSG_NOSIGNAL); 0009 return 0; 0010 } 0011 " HAVE_MSG_NOSIGNAL) 0012 0013 if(HAVE_MSG_NOSIGNAL) 0014 add_definitions(-DHAVE_MSG_NOSIGNAL=1) 0015 endif() 0016 0017 add_executable(kdev_dbus_socket_transformer main.cpp) 0018 0019 if (HAIKU) 0020 target_link_libraries(kdev_dbus_socket_transformer network) 0021 endif () 0022 0023 ecm_mark_nongui_executable(kdev_dbus_socket_transformer) 0024 install(TARGETS kdev_dbus_socket_transformer ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )