summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rw-r--r--src/CMakeLists.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b00a88503..c07822b49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,6 +52,7 @@ install_mainfest.txt
src/MCServer
lib/tolua++/tolua
src/Bindings/Bindings.*
+MCServer.dir/
#win32 cmake stuff
*.vcxproj
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4f70519bf..a557b7dac 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -41,6 +41,8 @@ file(GLOB_RECURSE SOURCE
"*.h"
)
+include_directories("${PROJECT_SOURCE_DIR}")
+
source_group("" FILES ${SOURCE})
endif()