From 162b085d803db549a0d70ce607f8ec0e025ebcf0 Mon Sep 17 00:00:00 2001 From: tycho Date: Fri, 20 Dec 2013 00:31:52 +0000 Subject: [PATCH] fixed include paths on windows and added build dir to gitignore --- .gitignore | 1 + src/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+) 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()