aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
-rw-r--r--src/CMakeLists.txt5
2 files changed, 8 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 8aadfdc..82ac3a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,8 @@ libtool
depcomp
missing
install-sh
+
+CMakeCache.txt
+CMakeFiles
+CMakeTmp
+cmake_install.cmake
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c7720ea..761be98 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,2 +1,3 @@
-ADD_EXECUTABLE(espik espik.c espik_common_handler.c espik_config.c espik_error.c espik_irc.c espik_net.c espik_opts.c)
-INCLUDE_DIRECTORIES(.)
+FIND_LIBRARY(Ecore Ecore.h ${X11_LIB_SEARCH_PATH})
+INCLUDE_DIRECTORIES(. /usr/include)
+ADD_EXECUTABLE(espik espik_common_handler.c espik_config.c espik_error.c espik_irc.c espik_net.c espik_opts.c espik.c)