Skip to content

Commit 7dc8444

Browse files
committed
add file CMakeLists.txt
1 parent 70b630b commit 7dc8444

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,13 @@ Makefile.in
1111
/depcomp
1212
/install-sh
1313
/missing
14+
15+
/CMakeCache.txt
16+
17+
/CMakeFiles/*
18+
19+
/Makefile
20+
21+
/*.cmake
22+
23+
/install_manifest.txt

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cmake_minimum_required(VERSION 2.8)
2+
PROJECT(image)
3+
ADD_LIBRARY(image SHARED image.c)
4+
INCLUDE_DIRECTORIES(/usr/include/mysql)
5+
#TARGET_LINK_LIBRARIES(fifo )
6+
INSTALL(PROGRAMS libimage.so DESTINATION /usr/lib/mysql/plugin/)
7+

src/image.c renamed to image.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Author: netkiller<netkiller@msn.com>
66
#include <stdio.h>
77
#include <mysql.h>
88
#include <string.h>
9-
#include <io.h>
9+
#include <sys/io.h>
1010
#include <openssl/md5.h>
1111
#include "image.h"
1212

src/image.h renamed to image.h

File renamed without changes.

0 commit comments

Comments
 (0)