summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortycho <tycho@hanoverdesktop>2013-12-20 01:31:52 +0100
committertycho <tycho@hanoverdesktop>2013-12-20 01:31:52 +0100
commit162b085d803db549a0d70ce607f8ec0e025ebcf0 (patch)
treed807ad51f7e1b589cd90b6928eecfbfcd4196275
parentfixed compile errors with headers and math library (diff)
downloadcuberite-162b085d803db549a0d70ce607f8ec0e025ebcf0.tar
cuberite-162b085d803db549a0d70ce607f8ec0e025ebcf0.tar.gz
cuberite-162b085d803db549a0d70ce607f8ec0e025ebcf0.tar.bz2
cuberite-162b085d803db549a0d70ce607f8ec0e025ebcf0.tar.lz
cuberite-162b085d803db549a0d70ce607f8ec0e025ebcf0.tar.xz
cuberite-162b085d803db549a0d70ce607f8ec0e025ebcf0.tar.zst
cuberite-162b085d803db549a0d70ce607f8ec0e025ebcf0.zip
-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()